fix syntax error
authorBrion Vibber <brion@users.mediawiki.org>
Fri, 14 Jul 2006 19:42:16 +0000 (19:42 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Fri, 14 Jul 2006 19:42:16 +0000 (19:42 +0000)
includes/ProfilerSimple.php

index 777a10f..adc8585 100644 (file)
@@ -86,7 +86,7 @@ class ProfilerSimple extends Profiler {
        }
 
        function getCpuTime($ru=null) {
-               if ( function_exists( getrusage() ) {
+               if ( function_exists( getrusage() ) {
                        if ( $ru == null )
                                $ru = getrusage();
                        return ($ru['ru_utime.tv_sec'] + $ru['ru_stime.tv_sec'] + ($ru['ru_utime.tv_usec'] +