$reply = array();
- $timing_info = getmicrotime();
+ $timing_info = microtime(true);
$topmost_article_ids = array();
}
function view() {
- $timing_info = getmicrotime();
+ $timing_info = microtime(true);
$reply = array();
print "</select>";
}
- function getmicrotime() {
- list($usec, $sec) = explode(" ",microtime());
- return ((float)$usec + (float)$sec);
- }
-
function print_radio($id, $default, $true_is, $values, $attributes = "") {
foreach ($values as $v) {
}
function print_checkpoint($n, $s) {
- $ts = getmicrotime();
+ $ts = microtime(true);
echo sprintf("<!-- CP[$n] %.4f seconds -->", $ts - $s);
return $ts;
}