models/classes/runner/time/QtiTimer.php
public function timeout($timeLimit, $tags, $target)
    {
        $duration = $this->compute($tags, $target);
        return $duration >= $timeLimit;
    }
public function timeout($timeLimit, $tags, $target)
    {
        $duration = $this->compute($tags, $target);
        return $duration >= $timeLimit;
    }
Checks if the duration of a TimeLine subset reached the timeout
@param float $timeLimit The time limit against which compare the duration
@param string|array $tags A tag or a list of tags to filter
@param int $target The type of target TimePoint to filter
@return bool Returns true if the timeout is reached
@throws TimeException