MediaWiki
REL1_22
|
Stub profiler that does nothing. More...
Public Member Functions | |
close () | |
Close opened profiling sections. | |
getCurrentSection () | |
Get the function name of the current profiling section. | |
getOutput () | |
Returns a profiling output to be stored in debug file. | |
isPersistent () | |
Return whether this profiler stores data. | |
isStub () | |
Return whether this a stub profiler. | |
logData () | |
Log the whole profiling data into the database. | |
profileIn ($fn) | |
Called by wfProfieIn() | |
profileOut ($fn) | |
Called by wfProfieOut() | |
transactionWritingIn ($server, $db) | |
Mark a DB as in a transaction with one or more writes pending. | |
transactionWritingOut ($server, $db) | |
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 39 of file ProfilerStub.php.
Get the function name of the current profiling section.
Reimplemented from Profiler.
Definition at line 41 of file ProfilerStub.php.
Returns a profiling output to be stored in debug file.
Reimplemented from Profiler.
Definition at line 38 of file ProfilerStub.php.
Return whether this profiler stores data.
Reimplemented from Profiler.
Definition at line 33 of file ProfilerStub.php.
Return whether this a stub profiler.
Reimplemented from Profiler.
Definition at line 30 of file ProfilerStub.php.
Log the whole profiling data into the database.
Reimplemented from Profiler.
Definition at line 40 of file ProfilerStub.php.
ProfilerStub::profileIn | ( | $ | functionname | ) |
Called by wfProfieIn()
$functionname | String |
Reimplemented from Profiler.
Definition at line 36 of file ProfilerStub.php.
ProfilerStub::profileOut | ( | $ | functionname | ) |
Called by wfProfieOut()
$functionname | String |
Reimplemented from Profiler.
Definition at line 37 of file ProfilerStub.php.
ProfilerStub::transactionWritingIn | ( | $ | server, |
$ | db | ||
) |
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 |
Reimplemented from Profiler.
Definition at line 42 of file ProfilerStub.php.
ProfilerStub::transactionWritingOut | ( | $ | server, |
$ | db | ||
) |
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 |
Reimplemented from Profiler.
Definition at line 43 of file ProfilerStub.php.