profileinfo.php File Reference

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&amp


Enumeration Type Documentation

Definition at line 7 of file profileinfo.php.


Function Documentation

compare_point ( a,
b 
)

Definition at line 193 of file profileinfo.php.

References $sort.


Variable Documentation

$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 = ''

$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'

$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

$wgEnableProfileInfo = $wgProfileToDatabase = false

Definition at line 5 of file profileinfo.php.

if(isset($_REQUEST['expand'])) foreach(explode("

Definition at line 84 of file profileinfo.php.

sort = $nsort&amp


Generated on Sat Sep 5 02:08:28 2009 for MediaWiki by  doxygen 1.5.9