KWeb  6.4
Benchmark Class Reference

Benchmarking helper class. More...

Public Member Functions

 __construct ($title= '', $addToSet=true)
 start ()
 split ()
 fail ()
 stop ()
 report ()

Data Fields

 $title = ''
 $timeStart
 $timeSplit
 $memStart
 $memory
 $timeOverall
 $timeMin = 0x7FFFFFF
 $timeMax = false
 $timeFirst = false
 $timeLast = false
 $repeats
 $splits = 0
 $failed = false

Static Public Attributes

static $defaultRepeats = 1000

Protected Attributes

 $timing

Detailed Description

Benchmarking helper class.


Constructor & Destructor Documentation

Benchmark::__construct ( title = '',
addToSet = true 
)

Member Function Documentation

Benchmark::fail ( )
Benchmark::report ( )
Benchmark::split ( )
Benchmark::start ( )
Benchmark::stop ( )

Field Documentation

Benchmark::$defaultRepeats = 1000 [static]
Benchmark::$failed = false
Benchmark::$memory
Benchmark::$memStart
Benchmark::$repeats
Benchmark::$splits = 0
Benchmark::$timeFirst = false
Benchmark::$timeLast = false
Benchmark::$timeMax = false
Benchmark::$timeMin = 0x7FFFFFF
Benchmark::$timeOverall
Benchmark::$timeSplit
Benchmark::$timeStart
Benchmark::$timing [protected]
Benchmark::$title = ''

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