PHP Class PhpBench\Model\Result\TimeResult

Inheritance: implements PhpBench\Model\ResultInterface
Afficher le fichier Open project: dantleech/phpbench Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( mixed $time )
fromArray ( array $values )
getKey ( )
getMetrics ( )
getNet ( ) : integer Return the net-time for this iteration.
getRevTime ( integer $revs ) : float Return the time for the given number of revolutions.

Method Details

__construct() public méthode

public __construct ( mixed $time )
$time mixed Time taken to execute the iteration in microseconds.

fromArray() public static méthode

public static fromArray ( array $values )
$values array

getKey() public méthode

public getKey ( )

getMetrics() public méthode

public getMetrics ( )

getNet() public méthode

Return the net-time for this iteration.
public getNet ( ) : integer
Résultat integer

getRevTime() public méthode

Return the time for the given number of revolutions.
public getRevTime ( integer $revs ) : float
$revs integer
Résultat float