Class StaticTimer

Description

A simple timer for various purposes

Located in /class.statictimer.php (line 23)


                
			
Method Summary
static void Start ()
static double Stop ()
static void Update ( &$iVar)
Methods
static method Start (line 40)

Starts the timer -- if a timer was already previously started, this action

will overwrite the start time

  • access: public
static void Start ()
static method Stop (line 54)

Return the amount of time elapsed since starting the timer. If the timer was never started, this will return 0. This does not actually stop the timer. For timing a series of events, Stop() can be called multiple time to get increments in between various steps

  • return: The amount of time that has passed since starting
  • access: public
static double Stop ()
static method Update (line 66)

Internally used to update the supplied iVar with the current micro time.

  • access: protected
static void Update ( &$iVar)
  • &$iVar

Documentation generated on Thu, 25 Feb 2010 15:59:41 -0500 by phpDocumentor 1.4.3