LogicException in case process is not started
public function getStartTime() : float { if (!$this->isStarted()) { throw new LogicException('Start time is only available after process start.'); } return $this->starttime; }