MediaWiki
REL1_23
|
Simple profiler base class. More...
Public Member Functions | |
getErrorEntry () | |
getFunctionReport () | |
Returns a list of profiled functions. | |
getRawData () | |
getZeroEntry () | |
isPersistent () | |
Return whether this profiler stores data. | |
logData () | |
Log the whole profiling data into the database. | |
profileIn ($functionname) | |
Called by wfProfieIn() | |
profileOut ($functionname) | |
Called by wfProfieOut() | |
setMinimum ($min) | |
updateEntry ($name, $elapsedCpu, $elapsedReal) | |
Public Attributes | |
$errorEntry | |
$mMinimumTime = 0 | |
Protected Member Functions | |
addInitialStack () | |
Add the inital item in the stack. |
Simple profiler base class.
Definition at line 29 of file ProfilerSimple.php.
ProfilerSimple::addInitialStack | ( | ) | [protected] |
Add the inital item in the stack.
Reimplemented from Profiler.
Definition at line 68 of file ProfilerSimple.php.
References array(), getErrorEntry(), Profiler\getInitialTime(), profileIn(), and profileOut().
Definition at line 44 of file ProfilerSimple.php.
References getZeroEntry().
Referenced by addInitialStack().
Returns a list of profiled functions.
Reimplemented from Profiler.
Definition at line 132 of file ProfilerSimple.php.
Reimplemented from Profiler.
Definition at line 126 of file ProfilerSimple.php.
References array().
Definition at line 34 of file ProfilerSimple.php.
References array().
Referenced by getErrorEntry(), and updateEntry().
Return whether this profiler stores data.
Reimplemented from Profiler.
Reimplemented in ProfilerSimpleUDP.
Definition at line 63 of file ProfilerSimple.php.
Log the whole profiling data into the database.
Reimplemented from Profiler.
Reimplemented in ProfilerSimpleTrace, ProfilerSimpleText, and ProfilerSimpleUDP.
Definition at line 137 of file ProfilerSimple.php.
ProfilerSimple::profileIn | ( | $ | functionname | ) |
Called by wfProfieIn()
$functionname | String |
Reimplemented from Profiler.
Reimplemented in ProfilerSimpleTrace.
Definition at line 87 of file ProfilerSimple.php.
References array(), Profiler\debug(), Profiler\getTime(), and global.
Referenced by addInitialStack().
ProfilerSimple::profileOut | ( | $ | functionname | ) |
Called by wfProfieOut()
$functionname | String |
Reimplemented from Profiler.
Reimplemented in ProfilerSimpleTrace.
Definition at line 95 of file ProfilerSimple.php.
References Profiler\debug(), Profiler\debugGroup(), Profiler\getTime(), global, list, updateEntry(), and Profiler\updateTrxProfiling().
Referenced by addInitialStack().
ProfilerSimple::setMinimum | ( | $ | min | ) |
Definition at line 83 of file ProfilerSimple.php.
ProfilerSimple::updateEntry | ( | $ | name, |
$ | elapsedCpu, | ||
$ | elapsedReal | ||
) |
Definition at line 50 of file ProfilerSimple.php.
References $name, and getZeroEntry().
Referenced by profileOut().
ProfilerSimple::$errorEntry |
Definition at line 32 of file ProfilerSimple.php.
ProfilerSimple::$mMinimumTime = 0 |
Definition at line 30 of file ProfilerSimple.php.