Overview

Packages

  • Support

Classes

  • Horde_Support_Array
  • Horde_Support_Backtrace
  • Horde_Support_CombineStream
  • Horde_Support_ConsistentHash
  • Horde_Support_Guid
  • Horde_Support_Inflector
  • Horde_Support_Memory
  • Horde_Support_Numerizer
  • Horde_Support_Numerizer_Locale_Base
  • Horde_Support_Numerizer_Locale_De
  • Horde_Support_Numerizer_Locale_Pt
  • Horde_Support_Randomid
  • Horde_Support_Stack
  • Horde_Support_StringStream
  • Horde_Support_Stub
  • Horde_Support_Timer
  • Horde_Support_Uuid
  • Overview
  • Package
  • Class
  • Tree

Class Horde_Support_Timer

Simple interface for timing operations.

$t = new Horde_Support_Timer;
 $t->push();
 $elapsed = $t->pop();

Copyright 1999-2012 Horde LLC (http://www.horde.org/)

Package: Support
Category: Horde
License: http://www.horde.org/licenses/bsd
Located at Horde/Support/Timer.php
Methods summary
public
# push( )

Push a new timer start on the stack.

Push a new timer start on the stack.

public float
# pop( )

Pop the latest timer start and return the difference with the current time.

Pop the latest timer start and return the difference with the current time.

Returns

float
The amount of time passed.
API documentation generated by ApiGen