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

getNet() public method

Return the net-time for this iteration.
public getNet ( ) : integer
return integer
    public function getNet()
    {
        return $this->netTime;
    }

Usage Example

Beispiel #1
0
 /**
  * It should allow time "0" (because windows mostly).
  */
 public function testTimeZero()
 {
     $result = new TimeResult(0);
     $this->assertEquals(0, $result->getNet());
 }