The time is the duration between an enter and an exit call to a timer from the same thread. Recursive calls are matched, and the results accumulated as in any other case.
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public Map | stats()
Return map that gives the accumulated statistics for each TimerEvent that has been observed by this event handler since the last call to clear (or since the creation of this handler, if clear has not been called). |
| clear | back to summary |
|---|---|
| public void clear() Discard all accumulated statistics. | |
| stats | back to summary |
|---|---|
| public Map Return map that gives the accumulated statistics for each TimerEvent that has been observed by this event handler since the last call to clear (or since the creation of this handler, if clear has not been called). | |