function timer_start
Search API
7.x misc.inc | timer_start($name) |
6.x misc.inc | timer_start($name) |
4.x misc.inc | timer_start($name) |
5.x misc.inc | timer_start($name) |
Begin a microtime timer for later use.
1 call to timer_start()
- fp_http_request in includes/
misc.inc - Send a request through the Internet and return the result as an object.
File
- includes/
misc.inc, line 981 - This file contains misc functions for FlightPath
Code
function timer_start($name) {
global $timers;
list($usec, $sec) = explode(' ', microtime());
$timers [$name]['start'] = (float) $usec + (float) $sec;
$timers [$name]['count'] = isset($timers [$name]['count']) ? ++$timers [$name]['count'] : 1;
}