MediaWiki REL1_28
|
Base class for profiling output. More...
Public Member Functions | |
__construct (Profiler $collector, array $params) | |
Constructor. | |
canUse () | |
Can this output type be used? | |
log (array $stats) | |
Log MediaWiki-style profiling data. | |
Protected Attributes | |
Profiler | $collector |
array | $params = [] |
Configuration of $wgProfiler. | |
Constructor.
Profiler | $collector | The actual profiler |
array | $params | Configuration array, passed down from $wgProfiler |
Reimplemented in ProfilerOutputDb, and ProfilerOutputText.
Definition at line 38 of file ProfilerOutput.php.
References $collector, and $params.
ProfilerOutput::canUse | ( | ) |
Can this output type be used?
Reimplemented in ProfilerOutputDb, and ProfilerOutputDump.
Definition at line 47 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().