OSDN Git Service
(root)
/
nucleus-jp
/
nucleus-next.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7cd1f1
)
FIX:ベンチマークのクエリ実行回数の値をDBクラスから取得するように修正
author
reine
<reine@users.sourceforge.jp>
Wed, 2 May 2012 17:04:19 +0000
(
02:04
+0900)
committer
reine
<reine@users.sourceforge.jp>
Wed, 2 May 2012 17:04:19 +0000
(
02:04
+0900)
skins/default/show_benchmark.inc
patch
|
blob
|
history
diff --git
a/skins/default/show_benchmark.inc
b/skins/default/show_benchmark.inc
index
9956dd2
..
aa387a7
100644
(file)
--- a/
skins/default/show_benchmark.inc
+++ b/
skins/default/show_benchmark.inc
@@
-8,6
+8,6
@@
if ( !function_exists('getmtime') )
}
}
-global $StartTime
, $SQLCount
;
+global $StartTime;
$loadtime = getmtime() - $StartTime;
-printf("%.3f sec/%d queries", $loadtime,
$SQLCount
);
+printf("%.3f sec/%d queries", $loadtime,
DB::getExecCount()
);