Core/Toolbox/Date/Timer.php
public function stop()
    {
        if (! $this->running) {
            Throw new \Exception('Timer is not running.');
        }

        $this->end = microtime(true);
        $this->checkpoints['end'] = $this->end;
        $this->running = false;

        return $this->getDiff();
    }
public function stop()
    {
        if (! $this->running) {
            Throw new \Exception('Timer is not running.');
        }

        $this->end = microtime(true);
        $this->checkpoints['end'] = $this->end;
        $this->running = false;

        return $this->getDiff();
    }
Stopps timer and returns difference from start

@throws \Exception