Go to the source code of this file.
Classes | |
| class | profile_point |
Enumerations | |
| enum | MW_NO_SETUP |
Functions | |
| compare_point ($a, $b) | |
Variables | |
| $wgDBadminuser = $wgDBadminpassword = $wgDBserver = $wgDBname = $wgDBprefix = false | |
| $wgEnableProfileInfo = $wgProfileToDatabase = false | |
| if (isset($_REQUEST['expand'])) foreach(explode(" | |
| $_REQUEST['expand'] as $f | $expand [$f] = true |
| $sorts = array("time","memory","count","calls_per_req","name","time_per_call","memory_per_call","time_per_req","memory_per_req") | |
| $sort = 'time' | |
| $dbh | |
| $res | |
| else | $filter = '' |
| sort = $nsort& | |
| enum MW_NO_SETUP |
Definition at line 7 of file profileinfo.php.
| compare_point | ( | $ | a, | |
| $ | b | |||
| ) |
| $dbh |
Initial value:
mysql_connect($wgDBserver, $wgDBadminuser, $wgDBadminpassword) or die("mysql server failed: " . mysql_error())
Definition at line 222 of file profileinfo.php.
| $_REQUEST ['expand'] as $f $expand[$f] = true |
Definition at line 86 of file profileinfo.php.
Referenced by profile_point::display(), and ImagePage::view().
| else $filter = '' |
Definition at line 233 of file profileinfo.php.
Referenced by ApiQuerySiteinfo::appendInterwikiMap(), LogEventsList::getFilterLinks(), BackupDumper::processArgs(), LogEventsList::showOptions(), and wfGetSVGsize().
| $res |
Initial value:
mysql_query(" SELECT pf_count, pf_time, pf_memory, pf_name FROM {$wgDBprefix}profiling ORDER BY pf_name ASC ", $dbh) or die("query failed: " . mysql_error())
Definition at line 225 of file profileinfo.php.
| $sort = 'time' |
Definition at line 218 of file profileinfo.php.
Referenced by ParserOutput::addCategory(), ApiQueryBase::addWhereRange(), compare_point(), printArray(), and Parser::setDefaultSort().
| $sorts = array("time","memory","count","calls_per_req","name","time_per_call","memory_per_call","time_per_req","memory_per_req") |
Definition at line 217 of file profileinfo.php.
| $wgDBadminuser = $wgDBadminpassword = $wgDBserver = $wgDBname = $wgDBprefix = false |
Definition at line 4 of file profileinfo.php.
Referenced by BackupDumper::backupDb(), MediaWiki_TestCase::buildTestDatabase(), buildTestDatabase(), convertLinks(), and createTempTable().
| $wgEnableProfileInfo = $wgProfileToDatabase = false |
Definition at line 5 of file profileinfo.php.
Definition at line 84 of file profileinfo.php.
| sort = $nsort& |
Definition at line 271 of file profileinfo.php.
Referenced by languages::__construct(), ChangeTags::addTags(), benchmarkForm(), ApiQueryAllmessages::execute(), SearchEngineTest::fetchIds(), SpecialListGroupRights::formatPermissions(), SpecialVersion::listToText(), PreferencesForm::mainPrefsForm(), and SpecialRecentChanges::optionsPanel().
1.5.9