cvs: php4 /pear/Benchmark Benchmark.php Timer.php

From: Date: Fri, 29 Sep 2000 08:29:22 +0000
Subject: cvs: php4 /pear/Benchmark Benchmark.php Timer.php
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-1872@lists.php.net to get a copy of this message
sbergmann Fri Sep 29 01:29:22 2000 EDT Modified files: /php4/pear/Benchmark Benchmark.php Timer.php Log: Tweaked inline documentation a bit. Index: php4/pear/Benchmark/Benchmark.php diff -u php4/pear/Benchmark/Benchmark.php:1.3 php4/pear/Benchmark/Benchmark.php:1.4 --- php4/pear/Benchmark/Benchmark.php:1.3 Thu Sep 28 23:54:08 2000 +++ php4/pear/Benchmark/Benchmark.php Fri Sep 29 01:29:22 2000 @@ -16,7 +16,7 @@ // | Authors: Sebastian Bergmann <sb@phpOpenTracker.de> | // +----------------------------------------------------------------------+ // -// $Id: Benchmark.php,v 1.3 2000/09/29 06:54:08 sbergmann Exp $ +// $Id: Benchmark.php,v 1.4 2000/09/29 08:29:22 sbergmann Exp $ // require_once "Benchmark/Timer.php"; @@ -37,7 +37,7 @@ * $result = $benchmark->get(); * * @author Sebastian Bergmann <sb@phpOpenTracker.de> - * @version 1.0 28/09/00 + * @version $Revision: 1.4 $ * @access public */ @@ -48,9 +48,9 @@ /** * Benchmarks a function. * - * @param string $function name of the function to be benchmarked - * @param int $iterations number of iterations (default: 100) - * @access public + * @param string $function name of the function to be benchmarked + * @param int $iterations number of iterations (default: 100) + * @access public */ function run( $function, $iterations = 100 ) @@ -71,8 +71,8 @@ /** * Returns benchmark result. * - * $result[ x ] = execution time of iteration x - * $result[ "mean" ] = mean execution time + * $result[ x ] = execution time of iteration x + * $result[ "mean" ] = mean execution time * $result[ "iterations" ] = number of iterations * * @return array $result Index: php4/pear/Benchmark/Timer.php diff -u php4/pear/Benchmark/Timer.php:1.2 php4/pear/Benchmark/Timer.php:1.3 --- php4/pear/Benchmark/Timer.php:1.2 Thu Sep 28 09:18:49 2000 +++ php4/pear/Benchmark/Timer.php Fri Sep 29 01:29:22 2000 @@ -16,7 +16,7 @@ // | Authors: Sebastian Bergmann <sb@phpOpenTracker.de> | // +----------------------------------------------------------------------+ // -// $Id: Timer.php,v 1.2 2000/09/28 16:18:49 sbergmann Exp $ +// $Id: Timer.php,v 1.3 2000/09/29 08:29:22 sbergmann Exp $ // /** @@ -37,7 +37,7 @@ * $profiling = $timer->get_profiling(); * * @author Sebastian Bergmann <sb@phpOpenTracker.de> - * @version 1.0 28/09/00 + * @version $Revision: 1.3 $ * @access public */ @@ -60,8 +60,8 @@ /** * Set "Start" marker. * - * @brother stop() - * @access public + * @see set_marker(), stop() + * @access public */ function start() @@ -75,8 +75,8 @@ /** * Set "Stop" marker. * - * @brother start() - * @access public + * @see set_marker(), start() + * @access public */ function stop() @@ -90,9 +90,9 @@ /** * Set marker. * - * @param string name of the marker to be set - * @brother stop() - * @access public + * @param string name of the marker to be set + * @see start(), stop() + * @access public */ function set_marker( $name )

« previous php.cvs (#1872) next »