Method |
Description |
|
clear ( ) : boolean |
Clear all existing timers |
|
elapsedTime ( string $name = 'default', integer $precision = 5 ) : float |
Get the difference in time between the timer start and timer end. |
|
getAll ( boolean $clear = false ) : array |
Get all timers that have been started and stopped. |
|
requestStartTime ( ) : float |
get the time the current request started. |
|
requestTime ( ) : float |
Get the total execution time until this point |
|
start ( string $name = null, string $message = null ) : boolean |
Start an benchmarking timer. |
|
stop ( string $name = null ) : boolean |
Stop a benchmarking timer. |
|