MediaWiki REL1_31
ProfilerStub.php
Go to the documentation of this file.
1<?php
29class ProfilerStub extends Profiler {
30 public function scopedProfileIn( $section ) {
31 return null; // no-op
32 }
33
34 public function getFunctionStats() {
35 }
36
37 public function getOutput() {
38 }
39
40 public function close() {
41 }
42
43 public function logData() {
44 }
45
46 public function logDataPageOutputOnly() {
47 }
48}
Stub profiler that does nothing.
close()
Close opened profiling sections.
getFunctionStats()
Get the aggregated inclusive profiling data for each method.
logDataPageOutputOnly()
Output current data to the page output if configured to do so.
getOutput()
Returns a profiling output to be stored in debug file.
scopedProfileIn( $section)
Mark the start of a custom profiling frame (e.g.
logData()
Log the data to some store or even the page output.
Profiler base class that defines the interface and some trivial functionality.
Definition Profiler.php:33
usually copyright or history_copyright This message must be in HTML not wikitext if the section is included from a template $section
Definition hooks.txt:3022