MediaWiki REL1_33
|
The least sophisticated profiler output class possible, view your source! :) More...
Public Member Functions | |
__construct (Profiler $collector, array $params) | |
log (array $stats) | |
Log MediaWiki-style profiling data. | |
logsToOutput () | |
Does log() just send the data to the request/script output? | |
Public Member Functions inherited from ProfilerOutput | |
canUse () | |
Can this output type be used? | |
Protected Attributes | |
float | $thresholdMs |
Min real time display threshold. | |
Protected Attributes inherited from ProfilerOutput | |
Profiler | $collector |
array | $params = [] |
Configuration of $wgProfiler. | |
The least sophisticated profiler output class possible, view your source! :)
Definition at line 30 of file ProfilerOutputText.php.
Profiler | $collector | The actual profiler |
array | $params | Configuration array, passed down from $wgProfiler |
Reimplemented from ProfilerOutput.
Definition at line 34 of file ProfilerOutputText.php.
References ProfilerOutput\$collector, and ProfilerOutput\$params.
ProfilerOutputText::log | ( | array | $stats | ) |
Log MediaWiki-style profiling data.
array | $stats | Result of Profiler::getFunctionStats() |
Reimplemented from ProfilerOutput.
Definition at line 43 of file ProfilerOutputText.php.
References $out, $thresholdMs, and(), print, and wfIsCLI().
ProfilerOutputText::logsToOutput | ( | ) |
Does log() just send the data to the request/script output?
Reimplemented from ProfilerOutput.
Definition at line 39 of file ProfilerOutputText.php.
|
protected |
Min real time display threshold.
Definition at line 32 of file ProfilerOutputText.php.
Referenced by log().