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(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description float
getEndMemory()
float
getFootprint()
java.lang.String
getName()
Returns the name for this timer.float
getStartMemory()
java.lang.String
report()
void
start()
void
stop()
java.lang.String
toString()
-
Methods inherited from class com.ibm.wala.util.perf.Stopwatch
getCount, getElapsedMillis
-
-
-
-
Method Detail
-
report
public final java.lang.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 java.lang.String getName()
Returns the name for this timer.
-
-