git-svn-id: http://xe-core.googlecode.com/svn/trunk@1416 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-05-16 05:47:04 +00:00
parent 1b727a32a1
commit b4ed25f564
4 changed files with 30 additions and 34 deletions

View file

@ -118,14 +118,14 @@
* @brief 로그 남김
**/
function actStart($query) {
if(__DEBUG__ < 2) return;
if(__DEBUG__ < 2 && !defined('__STOP_DEBUG__')) return;
$this->setError(0,'success');
$this->query = $query;
$this->act_start = getMicroTime();
}
function actFinish() {
if(__DEBUG__ < 2 || !$this->query) return;
if(__DEBUG__ < 2 || !$this->query || defined('__STOP_DEBUG__')) return;
$this->act_finish = getMicroTime();
$elapsed_time = $this->act_finish - $this->act_start;
$GLOBALS['__db_elapsed_time__'] += $elapsed_time;