* @ingroup Profiler
*/
class ProfilerSimpleDB extends ProfilerStandard {
- protected function collateOnly() {
- return true;
- }
-
- public function isPersistent() {
- return true;
- }
-
/**
* Log the whole profiling data into the database.
*/
if ( $useTrx ) {
$dbw->startAtomic( __METHOD__ );
}
- foreach ( $this->mCollated as $name => $data ) {
+ foreach ( $this->collated as $name => $data ) {
$eventCount = $data['count'];
$timeSum = (float)( $data['real'] * 1000 );
$memorySum = (float)$data['memory'];