|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.inject.util.Stopwatch
public class Stopwatch
Enables simple performance monitoring.
| Constructor Summary | |
|---|---|
Stopwatch()
|
|
| Method Summary | |
|---|---|
long |
reset()
Resets and returns elapsed time in milliseconds. |
void |
resetAndLog(java.util.logging.Logger logger,
java.lang.String label)
Resets and logs elapsed time in milliseconds. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Stopwatch()
| Method Detail |
|---|
public long reset()
public void resetAndLog(java.util.logging.Logger logger,
java.lang.String label)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||