----------------------------------------------------------------------
($markerId)
| 124 | |
| 125 | //---------------------------------------------------------------------- |
| 126 | public static function markTime($markerId) |
| 127 | { |
| 128 | list($usec, $sec) = explode(" ", microtime()); |
| 129 | $time = ((float)$usec + (float)$sec); |
| 130 | |
| 131 | if (!isset($GLOBALS['qr_time_bench'])) |
| 132 | $GLOBALS['qr_time_bench'] = array(); |
| 133 | |
| 134 | $GLOBALS['qr_time_bench'][$markerId] = $time; |
| 135 | } |
| 136 | |
| 137 | //---------------------------------------------------------------------- |
| 138 | public static function timeBenchmark() |
no outgoing calls
no test coverage detected