PHP 클래스 PhpBench\Model\Subject

It represents the result rather than the details of how to create that result.
파일 보기 프로젝트 열기: dantleech/phpbench 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( Benchmark $benchmark, string $name )
createVariant ( ParameterSet $parameterSet, integer $revolutions, integer $warmup, array $computedStats = [] ) : Variant. Create and add a new variant based on this subject.
getBenchmark ( ) : BenchmarkMetadata Return the (containing) benchmark for this subject.
getGroups ( )
getIndex ( )
getName ( ) : string Return the method name of this subject.
getOutputMode ( )
getOutputTimePrecision ( )
getOutputTimeUnit ( )
getRetryThreshold ( )
getSleep ( )
getVariants ( )
inGroups ( array $groups )
setGroups ( $groups )
setOutputMode ( $outputMode )
setOutputTimePrecision ( $outputTimePrecision )
setOutputTimeUnit ( $outputTimeUnit )
setRetryThreshold ( $retryThreshold )
setSleep ( $sleep )

메소드 상세

__construct() 공개 메소드

public __construct ( Benchmark $benchmark, string $name )
$benchmark Benchmark
$name string

createVariant() 공개 메소드

Create and add a new variant based on this subject.
public createVariant ( ParameterSet $parameterSet, integer $revolutions, integer $warmup, array $computedStats = [] ) : Variant.
$parameterSet ParameterSet
$revolutions integer
$warmup integer
$computedStats array
리턴 Variant.

getBenchmark() 공개 메소드

Return the (containing) benchmark for this subject.
public getBenchmark ( ) : BenchmarkMetadata
리턴 BenchmarkMetadata

getGroups() 공개 메소드

public getGroups ( )

getIndex() 공개 메소드

public getIndex ( )

getName() 공개 메소드

Return the method name of this subject.
public getName ( ) : string
리턴 string

getOutputMode() 공개 메소드

public getOutputMode ( )

getOutputTimePrecision() 공개 메소드

getOutputTimeUnit() 공개 메소드

public getOutputTimeUnit ( )

getRetryThreshold() 공개 메소드

public getRetryThreshold ( )

getSleep() 공개 메소드

public getSleep ( )

getVariants() 공개 메소드

public getVariants ( )

inGroups() 공개 메소드

public inGroups ( array $groups )
$groups array

setGroups() 공개 메소드

public setGroups ( $groups )

setOutputMode() 공개 메소드

public setOutputMode ( $outputMode )

setOutputTimePrecision() 공개 메소드

public setOutputTimePrecision ( $outputTimePrecision )

setOutputTimeUnit() 공개 메소드

public setOutputTimeUnit ( $outputTimeUnit )

setRetryThreshold() 공개 메소드

public setRetryThreshold ( $retryThreshold )

setSleep() 공개 메소드

public setSleep ( $sleep )