timer_start()
Start the WordPress micro-timer.
1 time — 0.000015 sec (very fast) | 50000 times — 0.02 sec (speed of light)
No Hooks.
Return
true|false
. Always returns true.
Usage
timer_start();
Notes
- Global. float. $timestart Unix timestamp set at the beginning of the page load.
- See: timer_stop()
Changelog
Since 0.71 | Introduced. |
Code of timer_start() timer start WP 6.0
function timer_start() { global $timestart; $timestart = microtime( true ); return true; }