MediaWiki  REL1_22
ProfilerSimpleTrace Class Reference

Execution trace. More...

Inheritance diagram for ProfilerSimpleTrace:
Collaboration diagram for ProfilerSimpleTrace:

List of all members.

Public Member Functions

 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 = "Beginning trace: \n"

Detailed Description

Execution trace.

Todo:
document methods (?)

Definition at line 29 of file ProfilerSimpleTrace.php.


Member Function Documentation

Log the whole profiling data into the database.

Reimplemented from ProfilerSimple.

Definition at line 73 of file ProfilerSimpleTrace.php.

References Profiler\getContentType(), and print.

Definition at line 67 of file ProfilerSimpleTrace.php.

References memory.

Referenced by profileIn(), and profileOut().

ProfilerSimpleTrace::profileIn ( functionname)

Called by wfProfieIn()

Parameters:
$functionnameString

Reimplemented from ProfilerSimple.

Definition at line 33 of file ProfilerSimpleTrace.php.

References memoryDiff().

ProfilerSimpleTrace::profileOut ( functionname)

Called by wfProfieOut()

Parameters:
$functionnameString

Reimplemented from ProfilerSimple.

Definition at line 39 of file ProfilerSimpleTrace.php.

References Profiler\debug(), Profiler\getTime(), global, list, memoryDiff(), and Profiler\updateTrxProfiling().


Member Data Documentation

ProfilerSimpleTrace::$memory = 0

Definition at line 31 of file ProfilerSimpleTrace.php.

ProfilerSimpleTrace::$trace = "Beginning trace: \n"

Definition at line 30 of file ProfilerSimpleTrace.php.


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