MediaWiki  1.27.2
ProfilerOutputText Class Reference

The least sophisticated profiler output class possible, view your source! :) More...

Inheritance diagram for ProfilerOutputText:
Collaboration diagram for ProfilerOutputText:

Public Member Functions

 __construct (Profiler $collector, array $params)
 
 log (array $stats)
 
- Public Member Functions inherited from ProfilerOutput
 __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

float $thresholdMs
 Min real time display threshold. More...
 
- Protected Attributes inherited from ProfilerOutput
Profiler $collector
 
array $params = []
 Configuration of $wgProfiler. More...
 

Detailed Description

The least sophisticated profiler output class possible, view your source! :)

Since
1.25

Definition at line 30 of file ProfilerOutputText.php.

Constructor & Destructor Documentation

ProfilerOutputText::__construct ( Profiler  $collector,
array  $params 
)

Definition at line 34 of file ProfilerOutputText.php.

Member Function Documentation

ProfilerOutputText::log ( array  $stats)

Definition at line 40 of file ProfilerOutputText.php.

References $out, $thresholdMs, print, and use.

Member Data Documentation

float ProfilerOutputText::$thresholdMs
protected

Min real time display threshold.

Definition at line 32 of file ProfilerOutputText.php.

Referenced by log().


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