MediaWiki
1.28.0
|
Logs profiling data into the local DB. More...
Public Member Functions | |
__construct (Profiler $collector, array $params) | |
canUse () | |
log (array $stats) | |
Public Member Functions inherited from ProfilerOutput | |
__construct (Profiler $collector, array $params) | |
Constructor. More... | |
canUse () | |
Can this output type be used? More... | |
log (array $stats) | |
Log MediaWiki-style profiling data. More... | |
Private Attributes | |
bool | $perHost = false |
Whether to store host data with profiling calls. More... | |
Additional Inherited Members | |
Protected Attributes inherited from ProfilerOutput | |
Profiler | $collector |
array | $params = [] |
Configuration of $wgProfiler. More... | |
Logs profiling data into the local DB.
Definition at line 30 of file ProfilerOutputDb.php.
Definition at line 34 of file ProfilerOutputDb.php.
ProfilerOutputDb::canUse | ( | ) |
Definition at line 43 of file ProfilerOutputDb.php.
References wfReadOnly().
ProfilerOutputDb::log | ( | array | $stats | ) |
Definition at line 48 of file ProfilerOutputDb.php.
References $e, $name, as, DB_MASTER, wfGetDB(), and wfHostname().
|
private |
Whether to store host data with profiling calls.
Definition at line 32 of file ProfilerOutputDb.php.