MediaWiki REL1_37
|
Dump profiler data in a ".xhprof" file. More...
Public Member Functions | |
canUse () | |
Can this output type be used? | |
log (array $stats) | |
Log MediaWiki-style profiling data. | |
Public Member Functions inherited from ProfilerOutput | |
__construct (Profiler $collector, array $params) | |
logsToOutput () | |
May the log() try to write to standard output? | |
Protected Attributes | |
$suffix = ".xhprof" | |
Protected Attributes inherited from ProfilerOutput | |
Profiler | $collector |
LoggerInterface | $logger |
array | $params |
Configuration of $wgProfiler. | |
Dump profiler data in a ".xhprof" file.
Definition at line 27 of file ProfilerOutputDump.php.
ProfilerOutputDump::canUse | ( | ) |
Can this output type be used?
Reimplemented from ProfilerOutput.
Definition at line 35 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 42 of file ProfilerOutputDump.php.
References serialize().
|
protected |
Definition at line 28 of file ProfilerOutputDump.php.