MediaWiki  REL1_19
ProfilerSimpleTrace Class Reference

Execution trace. More...

Inheritance diagram for ProfilerSimpleTrace:
Collaboration diagram for ProfilerSimpleTrace:

List of all members.

Public Member Functions

 __construct ($params)
 logData ()
 Log the whole profiling data into the database.
 memoryDiff ()
 profileIn ($functionname)
 Called by wfProfieIn()
 profileOut ($functionname)
 Called by wfProfieOut()

Public Attributes

 $memory = 0
 $trace = ""

Detailed Description

Execution trace.

Todo:
document methods (?)

Definition at line 12 of file ProfilerSimpleTrace.php.


Constructor & Destructor Documentation

Reimplemented from ProfilerSimple.

Definition at line 16 of file ProfilerSimpleTrace.php.

References $wgRequestTime, and ProfilerSimple\getCpuTime().

Here is the call graph for this function:


Member Function Documentation

Log the whole profiling data into the database.

Reimplemented from ProfilerSimple.

Definition at line 63 of file ProfilerSimpleTrace.php.

References print.

Definition at line 57 of file ProfilerSimpleTrace.php.

Referenced by profileIn(), and profileOut().

Here is the caller graph for this function:

ProfilerSimpleTrace::profileIn ( functionname)

Called by wfProfieIn()

Parameters:
$functionnameString

Reimplemented from ProfilerSimple.

Definition at line 25 of file ProfilerSimpleTrace.php.

References ProfilerSimple\getCpuTime(), and memoryDiff().

Here is the call graph for this function:

ProfilerSimpleTrace::profileOut ( functionname)

Called by wfProfieOut()

Parameters:
$functionnameString

Reimplemented from ProfilerSimple.

Definition at line 31 of file ProfilerSimpleTrace.php.

References $wgDebugFunctionEntry, Profiler\debug(), and memoryDiff().

Here is the call graph for this function:


Member Data Documentation

ProfilerSimpleTrace::$memory = 0

Definition at line 14 of file ProfilerSimpleTrace.php.

ProfilerSimpleTrace::$trace = ""

Definition at line 13 of file ProfilerSimpleTrace.php.


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