Package org.nuxeo.runtime.util
Class Watch.TimeInterval
java.lang.Object
org.nuxeo.runtime.util.Watch.TimeInterval
- All Implemented Interfaces:
Comparable<Watch.TimeInterval>
- Enclosing class:
- Watch
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
name
-
t0
protected long t0 -
t1
protected long t1
-
-
Constructor Details
-
TimeInterval
-
-
Method Details
-
getName
-
elapsed
public long elapsed()Elapsed time in nano seconds -
elapsed
-
start
protected void start() -
stop
protected void stop() -
isStopped
public boolean isStopped() -
compareTo
- Specified by:
compareTo
in interfaceComparable<Watch.TimeInterval>
-
formatSeconds
-
toString
-