Package com.ibm.wala.util.perf
Class StopwatchGC
java.lang.Object
com.ibm.wala.util.perf.Stopwatch
com.ibm.wala.util.perf.StopwatchGC
A
Stopwatch
that also queries the free memory from the GC. This is mostly useless.-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class com.ibm.wala.util.perf.Stopwatch
getCount, getElapsedMillis
-
Constructor Details
-
StopwatchGC
-
-
Method Details
-
start
public final void start() -
stop
public final void stop() -
report
-
getEndMemory
public float getEndMemory()- Returns:
- memory at the end of the phase, in MB
-
getStartMemory
public float getStartMemory()- Returns:
- memory at the end of the phase, in MB
-
getFootprint
public float getFootprint()- Returns:
- getEndMemory() - getStartMemory()
-
getName
Returns the name for this timer. -
toString
-