MediaWiki
1.33.0
|
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. More... | |
logsToOutput () | |
Does log() just send the data to the request/script output? More... | |
Public Member Functions inherited from ProfilerOutput | |
canUse () | |
Can this output type be used? More... | |
Protected Attributes | |
float | $thresholdMs |
Min real time display threshold. More... | |
Protected Attributes inherited from ProfilerOutput | |
Profiler | $collector |
array | $params = [] |
Configuration of $wgProfiler. More... | |
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, use, 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().