MediaWiki  REL1_24
ProfilerSimpleDB Class Reference

$wgProfiler['class'] = 'ProfilerSimpleDB'; More...

Inheritance diagram for ProfilerSimpleDB:
Collaboration diagram for ProfilerSimpleDB:

List of all members.

Public Member Functions

 isPersistent ()
 Return whether this profiler stores data.
 logData ()
 Log the whole profiling data into the database.

Protected Member Functions

 collateOnly ()
 Whether to internally just track aggregates and ignore the full stack trace.

Detailed Description

$wgProfiler['class'] = 'ProfilerSimpleDB';

Definition at line 29 of file ProfilerSimpleDB.php.


Member Function Documentation

Whether to internally just track aggregates and ignore the full stack trace.

Only doing collation saves memory overhead but limits the use of certain features like that of graph generation for the debug toolbar.

Returns:
bool

Reimplemented from ProfilerStandard.

Definition at line 30 of file ProfilerSimpleDB.php.

Return whether this profiler stores data.

See also:
Profiler::logData()
Returns:
bool

Reimplemented from ProfilerStandard.

Definition at line 34 of file ProfilerSimpleDB.php.

Log the whole profiling data into the database.

Reimplemented from ProfilerStandard.

Definition at line 41 of file ProfilerSimpleDB.php.

References $e, $name, array(), as, ProfilerStandard\collateData(), global, wfGetDB(), wfHostname(), and wfReadOnly().


The documentation for this class was generated from the following file: