TITAN Library for PHP5  5.1.0
Web Software Development Kit for PHP5
profile Class Reference

Titan Debug Profiler Class. More...

Public Member Functions

 __construct ($startnow=true)
 
 start ()
 
 stop ($multiple=0, $decimals=4)
 

Detailed Description

Titan Debug Profiler Class.

Class: \tl\debug\profile

Author
James E. Bush work@.nosp@m.bush.nosp@m..cc
Version
5.1.0

Create a timer for profiling.

Constructor & Destructor Documentation

__construct (   $startnow = true)

Constructor

Parameters
boolean$startnow(optional) Start the timer now? (default) true

Member Function Documentation

start ( )

Start the timer

stop (   $multiple = 0,
  $decimals = 4 
)

Stop the timer

Parameters
integer$multiple(optional) Multiply the uSeconds time by (this number * 1000) (default) 0 = Do not multiply
integer$decimals(optional) decimal places to retain (default) 4

The documentation for this class was generated from the following file: