src/Timer.php
public function toc($message = '')
    {
        $this->stop = microtime(true);
        ++$this->count;
        $this->elapsed = ($this->stop - $this->start ) * 1e6 - $this->calib;
        print $this;
        if ($message) {
            print $message . "\n";
        }
    }
public function toc($message = '')
    {
        $this->stop = microtime(true);
        ++$this->count;
        $this->elapsed = ($this->stop - $this->start ) * 1e6 - $this->calib;
        print $this;
        if ($message) {
            print $message . "\n";
        }
    }
Stops timer and displays elapsed time.
@param  string $message is an optional user message.
@return void