MediaWiki
1.33.0
|
Base class for profiling output. More...
Public Member Functions | |
__construct (Profiler $collector, array $params) | |
canUse () | |
Can this output type be used? More... | |
log (array $stats) | |
Log MediaWiki-style profiling data. More... | |
logsToOutput () | |
Does log() just send the data to the request/script output? More... | |
Protected Attributes | |
Profiler | $collector |
array | $params = [] |
Configuration of $wgProfiler. More... | |
Profiler | $collector | The actual profiler |
array | $params | Configuration array, passed down from $wgProfiler |
Reimplemented in ProfilerOutputDb, and ProfilerOutputText.
Definition at line 37 of file ProfilerOutput.php.
References $collector, and $params.
ProfilerOutput::canUse | ( | ) |
Can this output type be used?
Reimplemented in ProfilerOutputDb, and ProfilerOutputDump.
Definition at line 46 of file ProfilerOutput.php.
|
abstract |
Log MediaWiki-style profiling data.
array | $stats | Result of Profiler::getFunctionStats() |
Reimplemented in ProfilerOutputDb, ProfilerOutputDump, ProfilerOutputText, and ProfilerOutputStats.
ProfilerOutput::logsToOutput | ( | ) |
Does log() just send the data to the request/script output?
Reimplemented in ProfilerOutputText.
Definition at line 55 of file ProfilerOutput.php.
|
protected |
Definition at line 29 of file ProfilerOutput.php.
Referenced by ProfilerOutputText\__construct(), ProfilerOutputDb\__construct(), and __construct().
|
protected |
Configuration of $wgProfiler.
Definition at line 31 of file ProfilerOutput.php.
Referenced by ProfilerOutputText\__construct(), ProfilerOutputDb\__construct(), and __construct().