OSDN Git Service
(root)
/
nucleus-jp
/
nucleus-next.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge branch 'skinnable-master'
[nucleus-jp/nucleus-next.git]
/
skins
/
default
/
show_benchmark.inc
1
<?php
2
if ( !function_exists('getmtime') )
3
{
4
function getmtime()
5
{
6
$a = preg_split('# #', microtime());
7
return(double) $a[0] + $a[1];
8
}
9
}
10
11
global $StartTime;
12
$loadtime = getmtime() - $StartTime;
13
printf("%.3f sec/%d queries", $loadtime, DB::getExecCount());