Fatal error: Cannot redeclare timer_start() (previously declared in ent timer value in ms. */ function timer_read($name) { global $timers; if (isset($timers[$name]['start'])) { list($usec, $sec) = explode(' ', microtime()); $stop = (float)$usec + (float)$sec; $diff = round(($stop - $timers[$name]['start']) * 1000, 2); if (isset($timers[$name]['time'])) { $diff += $timers[$name]['time']; } return $diff; } } /** * Stop the timer with the specified name. * * @param name * The name of the timer. * @return * A timer array. The array contains the number of times the * timer has been started and stopped (count) and the accumulated * timer value in ms (time). */ function timer_stop($name) { global $timers; $timers[$name]['time'] = timer_read($name); unset($timers[$name]['start']); return $timers[$name]; } /** * Find the appropriate configuration directory. * * Try finding a matching configuration directory by stripping the website's * hostname from left to ri in /storage/home/srv10930/ht-chgk43/includes/bootstrap.inc on line 158