MediaWiki
REL1_24
|
Stub profiler that does nothing. More...
Public Member Functions | |
close () | |
Close opened profiling sections. | |
getCurrentSection () | |
getOutput () | |
Returns a profiling output to be stored in debug file. | |
getRawData () | |
isPersistent () | |
Return whether this profiler stores data. | |
isStub () | |
Return whether this a stub profiler. | |
logData () | |
Log the data to some store or even the page output. | |
profileIn ($fn) | |
Called by wfProfieIn() | |
profileOut ($fn) | |
Called by wfProfieOut() | |
transactionWritingIn ($server, $db, $id= '') | |
Mark a DB as in a transaction with one or more writes pending. | |
transactionWritingOut ($server, $db, $id= '') | |
Mark a DB as no longer in a transaction. |
Stub profiler that does nothing.
Definition at line 29 of file ProfilerStub.php.
Close opened profiling sections.
Reimplemented from Profiler.
Definition at line 47 of file ProfilerStub.php.
Definition at line 53 of file ProfilerStub.php.
Returns a profiling output to be stored in debug file.
Reimplemented from Profiler.
Definition at line 44 of file ProfilerStub.php.
Reimplemented from Profiler.
Definition at line 63 of file ProfilerStub.php.
References array().
Return whether this profiler stores data.
Called by Parser::braceSubstitution. If true, the parser will not generate per-title profiling sections, to avoid overloading the profiling data collector.
Reimplemented from Profiler.
Definition at line 34 of file ProfilerStub.php.
Return whether this a stub profiler.
Reimplemented from Profiler.
Definition at line 30 of file ProfilerStub.php.
Log the data to some store or even the page output.
Reimplemented from Profiler.
Definition at line 50 of file ProfilerStub.php.
ProfilerStub::profileIn | ( | $ | functionname | ) |
Called by wfProfieIn()
string | $functionname |
Reimplemented from Profiler.
Definition at line 38 of file ProfilerStub.php.
ProfilerStub::profileOut | ( | $ | functionname | ) |
Called by wfProfieOut()
string | $functionname |
Reimplemented from Profiler.
Definition at line 41 of file ProfilerStub.php.
ProfilerStub::transactionWritingIn | ( | $ | server, |
$ | db, | ||
$ | id = '' |
||
) |
Mark a DB as in a transaction with one or more writes pending.
Note that there can be multiple connections to a single DB.
string | $server | DB server |
string | $db | DB name |
string | $id | Resource ID string of connection |
Reimplemented from Profiler.
Definition at line 57 of file ProfilerStub.php.
ProfilerStub::transactionWritingOut | ( | $ | server, |
$ | db, | ||
$ | id = '' |
||
) |
Mark a DB as no longer in a transaction.
This will check if locks are possibly held for longer than needed and log any affected transactions to a special DB log. Note that there can be multiple connections to a single DB.
string | $server | DB server |
string | $db | DB name |
string | $id | Resource ID string of connection |
Reimplemented from Profiler.
Definition at line 60 of file ProfilerStub.php.