MemProfile.php File Reference

Very crude tools to track memory usage. More...

Go to the source code of this file.

Functions

 wfMemIn ($a)
 Call to start memory counting for a block.
 wfMemOut ($a)
 Call to start stop counting for a block.

Variables

 $wgMemUse = array()
 Memory usage at checkpoints.
 $wgMemStack = 0
 Tracks the deepness of the stack.

Detailed Description

Very crude tools to track memory usage.

Author:
Niklas Laxström
Note:
Copyright © 2008, Niklas Laxström
GPL-2.0+

Definition in file MemProfile.php.


Function Documentation

wfMemIn ( a  ) 

Call to start memory counting for a block.

Parameters:
$a   String   Block name.

Definition at line 23 of file MemProfile.php.

wfMemOut ( a  ) 

Call to start stop counting for a block.

Difference from start is shown.

Parameters:
$a   String   Block name.

Definition at line 43 of file MemProfile.php.


Variable Documentation

$wgMemStack = 0

Tracks the deepness of the stack.

Definition at line 17 of file MemProfile.php.

Referenced by wfMemIn(), and wfMemOut().

$wgMemUse = array()

Memory usage at checkpoints.

Definition at line 15 of file MemProfile.php.

Referenced by wfMemIn(), and wfMemOut().

Generated on Tue Oct 29 00:00:26 2013 for MediaWiki Translate Extension by  doxygen 1.6.3