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

Titan Debug Profiler Class. More...

Public Member Functions

 __construct ($startnow=true)
 
 start ()
 
 stop ($decimals=10)
 

Protected Attributes

 $__start
 The start time.
 
 $__stop
 the stop time
 

Detailed Description

Titan Debug Profiler Class.

Class: \tl\debug\profile

Author
James E. Bush work@.nosp@m.bush.nosp@m..cc
Version
5.6.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 (   $decimals = 10)

Stop the timer

Parameters
integer$decimals(optional) decimal places to retain (default) 10

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