includes/ProfilerStub.php File Reference

Stub profiling functions. More...

Go to the source code of this file.

Functions

 wfProfileIn ($fn= '')
 Begin profiling of a function.
 wfProfileOut ($fn= '')
 Stop profiling of a function.
 wfGetProfilingOutput ($s, $e)
 Does nothing, just for compatibility.
 wfProfileClose ()
 Does nothing, just for compatibility.

Variables

 $wgProfiling = false
 backward compatibility
 $haveProctitle = function_exists( 'setproctitle' )
 is setproctitle function available ?


Detailed Description

Stub profiling functions.

Definition in file ProfilerStub.php.


Function Documentation

wfGetProfilingOutput ( s,
e 
)

Does nothing, just for compatibility.

Definition at line 43 of file ProfilerStub.php.

wfProfileClose (  ) 

Does nothing, just for compatibility.

Definition at line 48 of file ProfilerStub.php.

wfProfileIn ( fn = ''  ) 

Begin profiling of a function.

Parameters:
$fn string

Definition at line 18 of file ProfilerStub.php.

References $haveProctitle, and $wgDBname.

wfProfileOut ( fn = ''  ) 

Stop profiling of a function.

Parameters:
$fn string

Definition at line 30 of file ProfilerStub.php.

References $haveProctitle, and $wgDBname.


Variable Documentation

$haveProctitle = function_exists( 'setproctitle' )

is setproctitle function available ?

Definition at line 12 of file ProfilerStub.php.

Referenced by wfProfileIn(), and wfProfileOut().

$wgProfiling = false

backward compatibility

Definition at line 9 of file ProfilerStub.php.


Generated on Sat Sep 5 02:08:24 2009 for MediaWiki by  doxygen 1.5.9