- stop
Stop the timer, increment the count and update the total time spent. If timer
has been started multi
- setTimeout
Set a timeout limit for this timer. Set the timeout to 0 to disable timeout
checking
- start
Start time timer by recording the time this function is called. If timer is
running when this functi
- <init>
Create a timer that has the specified parent timer.
- getAverage
Return the total time spent (in milliseconds) divided by the number of times
this timer has been ran
- getLast
Return the total time spent between last start()-stop() period.
- add
Update the total time elapsed and number of counts by by adding the values from
another timer. This
- check
Check if the elapsed time is greater than the timeout limit and throw a
TimeoutException if that is
- getCount
Return the total number of times this timer has been started and stopped. Note
that recursive start
- getElapsed
Return the time elapsed (in milliseconds) since the last time this timer was
started. If the timer i
- getName
Return the name of this timer.
- getTotal
Return the total time (in milliseconds) spent while this timer was running. If
the timer is running