Profiler Class Reference

Public Member Functions

 __construct ()
 start ($restart=false)
 restart ()
 stop ()
 mark ($file, $line, $msg= '##MARK##')
 getElapsedTime ()

Data Fields

const PROFILER_STATUS_STARTED = 'started'
const PROFILER_STATUS_NOT_STARTED = 'not_started'
const PROFILER_STATUS_STOPPED = 'stopped'

Private Member Functions

 _getCurrentTime ()

Private Attributes

 $startTime
 $status
 $endTime
 $log

Detailed Description

Definition at line 27 of file debug.lib.php.


Constructor & Destructor Documentation

__construct (  ) 

Definition at line 38 of file debug.lib.php.


Member Function Documentation

_getCurrentTime (  )  [private]

Definition at line 103 of file debug.lib.php.

getElapsedTime (  ) 

Definition at line 98 of file debug.lib.php.

mark ( file,
line,
msg = '##MARK##' 
)

Definition at line 79 of file debug.lib.php.

restart (  ) 

Definition at line 58 of file debug.lib.php.

start ( restart = false  ) 

Definition at line 44 of file debug.lib.php.

stop (  ) 

Definition at line 63 of file debug.lib.php.


Field Documentation

$endTime [private]

Definition at line 35 of file debug.lib.php.

$log [private]

Definition at line 36 of file debug.lib.php.

$startTime [private]

Definition at line 33 of file debug.lib.php.

$status [private]

Definition at line 34 of file debug.lib.php.

const PROFILER_STATUS_NOT_STARTED = 'not_started'

Definition at line 30 of file debug.lib.php.

const PROFILER_STATUS_STARTED = 'started'

Definition at line 29 of file debug.lib.php.

const PROFILER_STATUS_STOPPED = 'stopped'

Definition at line 31 of file debug.lib.php.


The documentation for this class was generated from the following file:
Generated on Tue Jun 8 12:28:40 2010 for Claroline API by  doxygen 1.6.3