MediaWiki
REL1_24
|
Execution trace profiler. More...
Public Member Functions | |
logData () | |
Log the data to some store or even the page output. | |
profileIn ($functionname) | |
Called by wfProfieIn() | |
profileOut ($functionname) | |
Called by wfProfieOut() | |
Protected Member Functions | |
collateOnly () | |
Whether to internally just track aggregates and ignore the full stack trace. | |
memoryDiff () | |
Protected Attributes | |
$memory = 0 | |
$trace = "Beginning trace: \n" |
Execution trace profiler.
Definition at line 29 of file ProfilerSimpleTrace.php.
ProfilerSimpleTrace::collateOnly | ( | ) | [protected] |
Whether to internally just track aggregates and ignore the full stack trace.
Only doing collation saves memory overhead but limits the use of certain features like that of graph generation for the debug toolbar.
Reimplemented from ProfilerStandard.
Definition at line 33 of file ProfilerSimpleTrace.php.
Log the data to some store or even the page output.
Reimplemented from ProfilerStandard.
Definition at line 72 of file ProfilerSimpleTrace.php.
References ProfilerStandard\getContentType(), and print.
ProfilerSimpleTrace::memoryDiff | ( | ) | [protected] |
Definition at line 66 of file ProfilerSimpleTrace.php.
References memory.
Referenced by profileIn(), and profileOut().
ProfilerSimpleTrace::profileIn | ( | $ | functionname | ) |
Called by wfProfieIn()
string | $functionname |
Reimplemented from ProfilerStandard.
Definition at line 37 of file ProfilerSimpleTrace.php.
References memoryDiff().
ProfilerSimpleTrace::profileOut | ( | $ | functionname | ) |
Called by wfProfieOut()
string | $functionname |
Reimplemented from ProfilerStandard.
Definition at line 44 of file ProfilerSimpleTrace.php.
References Profiler\getTime(), list, and memoryDiff().
ProfilerSimpleTrace::$memory = 0 [protected] |
Definition at line 31 of file ProfilerSimpleTrace.php.
ProfilerSimpleTrace::$trace = "Beginning trace: \n" [protected] |
Definition at line 30 of file ProfilerSimpleTrace.php.