MCPcopy Create free account
hub / github.com/codemistic/Web-Development / markTime

Method markTime

text-to-qr/lib/phpqrcode/phpqrcode.php:259–268  ·  view source on GitHub ↗

----------------------------------------------------------------------

($markerId)

Source from the content-addressed store, hash-verified

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()

Callers 5

timeBenchmarkMethod · 0.95
buildCacheMethod · 0.45
phpqrcode.phpFile · 0.45
encodeMaskMethod · 0.45
encodeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected