src/precore/util/Profiler.php
public function start($name) : Profiler
    {
        if (!$this->globalStopwatch->isRunning()) {
            $this->globalStopwatch->start();
        }
        if ($this->entryStopwatch->isRunning()) {
            $this->recordEntry();
        }
        $this->currentName = $name;
        $this->entryStopwatch->start();
        return $this;
    }
public function start($name) : Profiler
    {
        if (!$this->globalStopwatch->isRunning()) {
            $this->globalStopwatch->start();
        }
        if ($this->entryStopwatch->isRunning()) {
            $this->recordEntry();
        }
        $this->currentName = $name;
        $this->entryStopwatch->start();
        return $this;
    }
Creates and starts a new entry.

@param string $name The name of the next entry
@return $this