Modifier and Type | Method and Description |
---|---|
static MemoryWatch |
Timing.createMemoryWatch(java.lang.String name)
Create a MemoryWatch and register it.
|
MemoryWatch |
StopWatchFactory.createMemoryWatch(java.lang.String userSpecifiedLabel,
java.lang.String internallyGeneratedLabel,
int uniqueId)
Build an instance of a MemoryWatch
|
MemoryWatch |
MemoryWatch.enableGCBeforeStartStop()
Enable attempted memory recovery before every start() and
stop().
|
MemoryWatch |
MemoryWatch.enableMinMax()
Enable tracking of min and max.
|
MemoryWatch |
MemoryWatch.enableStdDev()
Enable computation of standard deviation.
|
MemoryWatch |
MemoryWatch.setUnits(java.lang.String units,
double multiplier)
Specify the units and the multiplier to use.
|
MemoryWatch |
MemoryWatch.start()
Starts the counter in nanoseconds
|
MemoryWatch |
MemoryWatch.startAtSameMemAs(MemoryWatch other)
Set the start memory to be
the same as that of another.
|
MemoryWatch |
MemoryWatch.suppressIfCountIsZero()
This indicates that the MemoryWatch summary line
should not be output to the screen with
Timing.dumpTimings(java.lang.String) is called
if the getCount() value is zero. |
MemoryWatch |
MemoryWatch.suppressIfValueIsZero()
This indicates that the MemoryWatch summary line
should not be output to the screen with
Timing.dumpTimings(java.lang.String) is called
if the getCount() value is zero. |
Modifier and Type | Method and Description |
---|---|
MemoryWatch |
MemoryWatch.startAtSameMemAs(MemoryWatch other)
Set the start memory to be
the same as that of another.
|