org.codehaus.nanning.samples
Class StopWatch
java.lang.Object
org.codehaus.nanning.samples.StopWatch
- public class StopWatch
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MILLIS_PER_SECOND
public static final double MILLIS_PER_SECOND
- See Also:
- Constant Field Values
BYTES_PER_K
public static final int BYTES_PER_K
- See Also:
- Constant Field Values
StopWatch
public StopWatch()
StopWatch
public StopWatch(boolean doGC)
stop
public void stop()
getTimeSpent
public double getTimeSpent()
getMemoryUsed
public double getMemoryUsed()
getTimeSpent
public double getTimeSpent(int numberOfIterations)
getMemoryUsed
public double getMemoryUsed(int numberOfIterations)
getTimeSpentSeconds
public java.lang.String getTimeSpentSeconds()
getMemoryUsedKs
public java.lang.String getMemoryUsedKs()
Copyright © Jon Tirsen. All Rights Reserved.