----------------------------------------------------------------------
($markerId)
| 257 | |
| 258 | //---------------------------------------------------------------------- |
| 259 | public static function markTime($markerId) |
| 260 | { |
| 261 | list($usec, $sec) = explode(" ", microtime()); |
| 262 | $time = ((float)$usec + (float)$sec); |
| 263 | |
| 264 | if (!isset($GLOBALS['qr_time_bench'])) |
| 265 | $GLOBALS['qr_time_bench'] = array(); |
| 266 | |
| 267 | $GLOBALS['qr_time_bench'][$markerId] = $time; |
| 268 | } |
| 269 | |
| 270 | //---------------------------------------------------------------------- |
| 271 | public static function timeBenchmark() |
no outgoing calls
no test coverage detected