MediaWiki
1.28.0
|
Base class for profiling output. More...
Public Member Functions | |
__construct (Profiler $collector, array $params) | |
Constructor. More... | |
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... | |
Constructor.
Profiler | $collector | The actual profiler |
array | $params | Configuration array, passed down from $wgProfiler |
Definition at line 38 of file ProfilerOutput.php.
References $collector, and $params.
ProfilerOutput::canUse | ( | ) |
|
abstract |
Log MediaWiki-style profiling data.
array | $stats | Result of Profiler::getFunctionStats() |
|
protected |
Definition at line 29 of file ProfilerOutput.php.
Referenced by __construct().
|
protected |
Configuration of $wgProfiler.
Definition at line 31 of file ProfilerOutput.php.
Referenced by __construct().