[pLog-svn] r2974 - plog/trunk/class/misc

oscar at devel.lifetype.net oscar at devel.lifetype.net
Wed Feb 22 05:49:19 GMT 2006


Author: oscar
Date: 2006-02-22 05:49:17 +0000 (Wed, 22 Feb 2006)
New Revision: 2974

Modified:
   plog/trunk/class/misc/info.class.php
Log:
some comments added


Modified: plog/trunk/class/misc/info.class.php
===================================================================
--- plog/trunk/class/misc/info.class.php	2006-02-21 17:32:07 UTC (rev 2973)
+++ plog/trunk/class/misc/info.class.php	2006-02-22 05:49:17 UTC (rev 2974)
@@ -23,6 +23,13 @@
 			}
 		}
 		
+		/**
+		 * Starts the measurement. This method should be called before logMetrics is called, and preferably,
+		 * at the beginning of the script
+		 *
+		 * @static
+		 * @return Always true
+		 */
 		function startMetrics()
 		{
 			global $__metrics_start_time;
@@ -35,6 +42,12 @@
 			return( true );
 		}
 		
+		
+		/**
+		 * sends performance statistics in CSV format to the output defined by the 'metricslog' logger.
+		 *
+		 * @static
+		 */
 		function logMetrics()
 		{
 			include_once( PLOG_CLASS_PATH."class/logger/loggermanager.class.php" );



More information about the pLog-svn mailing list