MediaWiki REL1_30
|
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. | |
Protected Attributes | |
Profiler | $collector |
array | $params = [] |
Configuration of $wgProfiler. | |
ProfilerOutput::__construct | ( | Profiler | $collector, |
array | $params ) |
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 __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().