Class | Description |
---|---|
![]() |
Benchmark::Timer
Purpose:
Timing Script Execution, Generating Profiling Information
Example with automatic profiling start, stop, and output:
$timer =& new Benchmark_Timer(true); $timer->setMarker('Marker 1');
Example without automatic profiling:
$timer =& new Benchmark_Timer();
$timer->start(); $timer->setMarker('Marker 1'); $timer->stop();
$profiling = $timer->getProfiling(); echo $profiling->getOutput(); // or $timer->display()
Contributors:
Documentation generated on Fri, 3 Dec 2004 12:27:57 +0000 by phpDocumentor 1.3.0RC3