Semantic MediaWiki and related extensions
Public Member Functions | List of all members
SMW\Tests\Benchmark\Benchmarker Class Reference

Public Member Functions

 __construct ($roundFactor=7)
 
 clear ()
 
 useAsSample ($state=true)
 
 roundBy ($roundFactor)
 
 addBenchmarkPoint ($point, $decimals=10)
 
 addBenchmarkPoints (array $poins)
 
 getSum ()
 
 getMean ()
 
 getVariance ()
 
 getStandardDeviation ()
 
 getStandardScoreBy ($basis=0)
 
 getNormalizedValueBy ($basis=1)
 

Detailed Description

GNU GPL v2+

Since
2.1
Author
mwjames

Constructor & Destructor Documentation

SMW\Tests\Benchmark\Benchmarker::__construct (   $roundFactor = 7)
Since
2.1

Member Function Documentation

SMW\Tests\Benchmark\Benchmarker::addBenchmarkPoint (   $point,
  $decimals = 10 
)
Since
2.1
Parameters
integer$point
integer$decimals
SMW\Tests\Benchmark\Benchmarker::addBenchmarkPoints ( array  $poins)
Since
2.1
Parameters
integer[]$poins
SMW\Tests\Benchmark\Benchmarker::clear ( )
Since
2.1
SMW\Tests\Benchmark\Benchmarker::getMean ( )
Since
2.1
Returns
integer
SMW\Tests\Benchmark\Benchmarker::getNormalizedValueBy (   $basis = 1)
Since
2.1
Parameters
integer$basis
Returns
integer
SMW\Tests\Benchmark\Benchmarker::getStandardDeviation ( )
Since
2.1
Returns
integer
SMW\Tests\Benchmark\Benchmarker::getStandardScoreBy (   $basis = 0)
Since
2.1
Parameters
integer$basis
Returns
integer
SMW\Tests\Benchmark\Benchmarker::getSum ( )
Since
2.1
Returns
integer
SMW\Tests\Benchmark\Benchmarker::getVariance ( )
Since
2.1
Returns
integer
SMW\Tests\Benchmark\Benchmarker::roundBy (   $roundFactor)
Since
2.1
Parameters
integer$roundFactor
SMW\Tests\Benchmark\Benchmarker::useAsSample (   $state = true)
Since
2.1
Parameters
boalean$statefalse when takling about the entire population; true when it is a sample (a selection from a population)

The documentation for this class was generated from the following file: