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

Method markTime

text-to-qr/lib/phpqrcode/qrtools.php:126–135  ·  view source on GitHub ↗

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

($markerId)

Source from the content-addressed store, hash-verified

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

Callers 5

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

Calls

no outgoing calls

Tested by

no test coverage detected