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. |
Very crude tools to track memory usage.
Definition in file MemProfile.php.
wfMemIn | ( | $ | a | ) |
Call to start memory counting for a block.
$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.
$a | String Block name. |
Definition at line 43 of file MemProfile.php.
$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().