MediaWiki REL1_35
ProfilerOutputDump Class Reference
Inheritance diagram for ProfilerOutputDump:
Collaboration diagram for ProfilerOutputDump:

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
 
array $params = []
 Configuration of $wgProfiler.
 

Detailed Description

Definition at line 28 of file ProfilerOutputDump.php.

Member Function Documentation

◆ canUse()

ProfilerOutputDump::canUse ( )

Can this output type be used?

Returns
bool

Reimplemented from ProfilerOutput.

Definition at line 37 of file ProfilerOutputDump.php.

◆ log()

ProfilerOutputDump::log ( array  $stats)

Log MediaWiki-style profiling data.

For classes that enable logsToOutput(), this must not be called unless Profiler::setAllowOutput is enabled.

Parameters
array$statsResult of Profiler::getFunctionStats()

Reimplemented from ProfilerOutput.

Definition at line 44 of file ProfilerOutputDump.php.

References serialize().

Member Data Documentation

◆ $suffix

ProfilerOutputDump::$suffix = ".xhprof"
protected

Definition at line 30 of file ProfilerOutputDump.php.


The documentation for this class was generated from the following file: