Package com.ibm.wala.util.perf
Class StopwatchGC
- java.lang.Object
-
- com.ibm.wala.util.perf.Stopwatch
-
- com.ibm.wala.util.perf.StopwatchGC
-
-
Constructor Summary
Constructors Constructor Description StopwatchGC(String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description floatgetEndMemory()floatgetFootprint()StringgetName()Returns the name for this timer.floatgetStartMemory()Stringreport()voidstart()voidstop()StringtoString()-
Methods inherited from class com.ibm.wala.util.perf.Stopwatch
getCount, getElapsedMillis
-
-
-
-
Constructor Detail
-
StopwatchGC
public StopwatchGC(String name)
-
-
Method Detail
-
report
public final String 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
public String getName()
Returns the name for this timer.
-
-