X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=profileinfo.php;h=f81462c8c94d748a036e663a475ae0fc1cc175fc;hb=8e35c6da67bdfd8f38d612cde2e76a62f57d9d6b;hp=36ef14dbb8868449a0cd342e535c7f9c4ba600b6;hpb=9af3c09e5c233ae5b0b466327759aba7852a187c;p=lhc%2Fweb%2Fwiklou.git diff --git a/profileinfo.php b/profileinfo.php index 36ef14dbb8..f81462c8c9 100644 --- a/profileinfo.php +++ b/profileinfo.php @@ -45,7 +45,7 @@ name())) { + $sqltotal += $next->time(); + $queries[] = $next; + } else { + $points[] = $next; + } } +$s = new profile_point("SQL Queries", 0, $sqltotal); +foreach ($queries as $q) + $s->add_child($q); +$points[] = $s; + usort($points, "compare_point"); foreach ($points as $point) {