From: Tim Starling Date: Sat, 21 Aug 2004 13:57:47 +0000 (+0000) Subject: Sort results by total time X-Git-Tag: 1.5.0alpha1~2273 X-Git-Url: http://git.cyclocoop.org/%7B%7B%20url_for%28%27admin_vote_add%27%29%20%7D%7D?a=commitdiff_plain;h=3ed08cf6f6ca6daaa788f64db755e0069d13c2e4;p=lhc%2Fweb%2Fwiklou.git Sort results by total time --- diff --git a/includes/Profiling.php b/includes/Profiling.php index 1997cf5b6f..a6c49eb944 100755 --- a/includes/Profiling.php +++ b/includes/Profiling.php @@ -141,6 +141,7 @@ class Profiler $this->mCalls["-overhead-total"] = $profileCount; # Output + arsort( $this->mCollated, SORT_NUMERIC ); foreach ( $this->mCollated as $fname => $elapsed ) { $calls = $this->mCalls[$fname]; # Adjust for overhead