MediaWiki REL1_33
|
Base class for profiling output. More...
Public Member Functions | |
__construct (Profiler $collector, array $params) | |
canUse () | |
Can this output type be used? | |
log (array $stats) | |
Log MediaWiki-style profiling data. | |
logsToOutput () | |
Does log() just send the data to the request/script output? | |
Protected Attributes | |
Profiler | $collector |
array | $params = [] |
Configuration of $wgProfiler. | |
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, ProfilerOutputStats, and ProfilerOutputText.
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 __construct(), ProfilerOutputDb\__construct(), and ProfilerOutputText\__construct().
|
protected |
Configuration of $wgProfiler.
Definition at line 31 of file ProfilerOutput.php.
Referenced by __construct(), ProfilerOutputDb\__construct(), and ProfilerOutputText\__construct().