PHP 클래스 PhpBench\Model\Result\TimeResult

상속: implements PhpBench\Model\ResultInterface
파일 보기 프로젝트 열기: dantleech/phpbench 1 사용 예제들

공개 메소드들

메소드 설명
__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