MediaWiki REL1_31
|
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. | |
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.
ProfilerOutputText::__construct | ( | Profiler | $collector, |
array | $params ) |
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 40 of file ProfilerOutputText.php.
References $out, $thresholdMs, print, and wfIsCLI().
|
protected |
Min real time display threshold.
Definition at line 32 of file ProfilerOutputText.php.
Referenced by log().