Lsrur\Inspector\Collectors\TimerCollector::b_timeEnd PHP Method

b_timeEnd() public method

public b_timeEnd ( $timerName )
    public function b_timeEnd($timerName)
    {
        if (isset($this->timers[$timerName]) && $this->timers[$timerName]['type'] == 'timer') {
            $this->timers[$timerName]['time'] = round((microtime(true) - $this->timers[$timerName]['start']) * 1000, 2);
        }
    }