sbergmann Fri Mar 2 22:35:25 2001 EDT Modified files: /php4/pear/Benchmark Timer.php Log: Whitespace only. Index: php4/pear/Benchmark/Timer.php diff -u php4/pear/Benchmark/Timer.php:1.7 php4/pear/Benchmark/Timer.php:1.8 --- php4/pear/Benchmark/Timer.php:1.7 Tue Jan 9 17:01:53 2001 +++ php4/pear/Benchmark/Timer.php Fri Mar 2 22:35:25 2001 @@ -16,7 +16,7 @@ // | Authors: Sebastian Bergmann <[EMAIL PROTECTED]> | // +----------------------------------------------------------------------+ // -// $Id: Timer.php,v 1.7 2001/01/10 01:01:53 ssb Exp $ +// $Id: Timer.php,v 1.8 2001/03/03 06:35:25 sbergmann Exp $ // /** @@ -37,12 +37,11 @@ * $profiling = $timer->getProfiling(); * * @author Sebastian Bergmann <[EMAIL PROTECTED]> - * @version $Revision: 1.7 $ + * @version $Revision: 1.8 $ * @access public */ class Benchmark_Timer { - /** * Contains the markers * @@ -50,16 +49,7 @@ * @access public */ var $markers = array(); - - - /** - * Constructor - */ - function Benchmark_Timer() - { - } - - + /** * Set "Start" marker. * @@ -70,7 +60,7 @@ { $this->setMarker('Start'); } - + /** * Set "Stop" marker. * @@ -81,7 +71,7 @@ { $this->setMarker('Stop'); } - + /** * Set marker. * @@ -94,7 +84,7 @@ $microtime = explode(' ', microtime()); $this->markers[$name] = $microtime[1] . substr($microtime[0], 1); } - + /** * Returns the time elapsed betweens two markers. * @@ -111,7 +101,7 @@ return $this->markers[$end] - $this->markers[$start]; } } - + /** * Returns profiling information. * @@ -150,9 +140,8 @@ $temp = $time; $i++; } - + return $result; } - } ?> -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]