Public Member Functions | |
doTest () | |
Private Member Functions | |
_testBenchmark () |
Definition at line 8 of file UTBenchmark.class.php.
UTBenchmark::_testBenchmark | ( | ) | [private] |
Definition at line 15 of file UTBenchmark.class.php.
Referenced by doTest().
00016 { 00017 $timer = new Benchmark(); 00018 00019 $this->setSectionLabel('Benchmark'); 00020 $timer->start(); 00021 $timer->stop(); 00022 00023 $this->setSectionLabel('getElapsedTime'); 00024 eval($this->needDate('$timer->getStartTime()')); 00025 eval($this->needDate('$timer->getStopTime()')); 00026 eval($this->needDate('$timer->getElapsedTime()')); 00027 }
UTBenchmark::doTest | ( | ) |
Definition at line 10 of file UTBenchmark.class.php.
References _testBenchmark().
00011 { 00012 $this->_testBenchmark(); 00013 }