org.apache.xindice
Class Stopwatch
java.lang.Object
|
+--org.apache.xindice.Stopwatch
- public final class Stopwatch
- extends java.lang.Object
Stopwatch is a debugging tool for manually profiling code execution.
This class will probably be removed for a production release.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Stopwatch
public Stopwatch()
Stopwatch
public Stopwatch(boolean immediate)
Stopwatch
public Stopwatch(java.lang.String label)
Stopwatch
public Stopwatch(java.lang.String label,
boolean immediate)
start
public void start()
stop
public long stop()
cancel
public void cancel()
reset
public void reset()
elapsed
public long elapsed()
total
public long total()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright (c) 1999-2001 The Apache Software Foundation