/** * Increments sql execution time. * * @param float $time Time in seconds to add. * * @return void */ public function addTime($time) { $time = (double) $time; $this->time += $time; $this->tracker->addTime($time); }
public function refinishQuery() { $this->finishTime = Helper::getCurrentMicrotime(); $this->time += $this->finishTime - $this->startTime; $this->tracker->addTime($this->time); }