mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-24 05:39:58 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1846 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
3aa0e229b2
commit
ab374b12f2
5 changed files with 28 additions and 10 deletions
|
|
@ -121,14 +121,13 @@
|
|||
* @brief 로그 남김
|
||||
**/
|
||||
function actStart($query) {
|
||||
if(__DEBUG__ < 2) return;
|
||||
$this->setError(0,'success');
|
||||
$this->query = $query;
|
||||
$this->act_start = getMicroTime();
|
||||
}
|
||||
|
||||
function actFinish() {
|
||||
if(__DEBUG__ < 2 || !$this->query ) return;
|
||||
if(!$this->query ) return;
|
||||
$this->act_finish = getMicroTime();
|
||||
$elapsed_time = $this->act_finish - $this->act_start;
|
||||
$GLOBALS['__db_elapsed_time__'] += $elapsed_time;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue