PHP Класс PhpBench\Model\Result\TimeResult

Наследование: implements PhpBench\Model\ResultInterface
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__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.

Описание методов

__construct() публичный Метод

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

fromArray() публичный статический Метод

public static fromArray ( array $values )
$values array

getKey() публичный Метод

public getKey ( )

getMetrics() публичный Метод

public getMetrics ( )

getNet() публичный Метод

Return the net-time for this iteration.
public getNet ( ) : integer
Результат integer

getRevTime() публичный Метод

Return the time for the given number of revolutions.
public getRevTime ( integer $revs ) : float
$revs integer
Результат float