MediaWiki
1.34.0
|
Public Member Functions | |
canUse () | |
Can this output type be used? More... | |
log (array $stats) | |
Log MediaWiki-style profiling data. More... | |
Public Member Functions inherited from ProfilerOutput | |
__construct (Profiler $collector, array $params) | |
logsToOutput () | |
May the log() try to write to standard output? More... | |
Protected Attributes | |
$suffix = ".xhprof" | |
Protected Attributes inherited from ProfilerOutput | |
Profiler | $collector |
array | $params = [] |
Configuration of $wgProfiler. More... | |
Definition at line 31 of file ProfilerOutputDump.php.
ProfilerOutputDump::canUse | ( | ) |
Can this output type be used?
Reimplemented from ProfilerOutput.
Definition at line 40 of file ProfilerOutputDump.php.
ProfilerOutputDump::log | ( | array | $stats | ) |
Log MediaWiki-style profiling data.
For classes that enable logsToOutput(), this must not be called unless Profiler::setAllowOutput is enabled.
array | $stats | Result of Profiler::getFunctionStats() |
Reimplemented from ProfilerOutput.
Definition at line 47 of file ProfilerOutputDump.php.
References $suffix, and serialize().
|
protected |
Definition at line 33 of file ProfilerOutputDump.php.
Referenced by log().