PhpBench\Model\Result\TimeResult::__construct PHP Method

__construct() public method

public __construct ( mixed $time )
$time mixed Time taken to execute the iteration in microseconds.
    public function __construct($time)
    {
        Assertion::greaterOrEqualThan($time, 0, 'Time cannot be less than 0, got %s');
        Assertion::integer($time);
        $this->netTime = $time;
    }