|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnl.uu.cs.treewidth.timing.JavaSystemTime
public class JavaSystemTime
TimeSource implementation using System.currentTimeMillis().
Beware: appears to have only 10~20 ms resolution.
Constructor Summary | |
---|---|
JavaSystemTime()
|
Method Summary | |
---|---|
long |
now()
For Stopwatch to make sense, the result of subsequent calls to now() have to be non-decreasing (which is reasonable for `time'). |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JavaSystemTime()
Method Detail |
---|
public long now()
TimeSource
now
in interface TimeSource
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |