MediaWiki
1.30.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... | |
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, ProfilerOutputStats, and ProfilerOutputText.
|
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().