fixed checked-in conflict marker
authorTim Starling <tstarling@users.mediawiki.org>
Sun, 19 Jun 2005 10:17:22 +0000 (10:17 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Sun, 19 Jun 2005 10:17:22 +0000 (10:17 +0000)
includes/Profiling.php

index 58026b0..25dfcb1 100755 (executable)
@@ -161,24 +161,6 @@ class Profiler {
 
                # The ugly double sprintf is to work around a PHP bug,
                # which has been fixed in recent releases.
-<<<<<<< Profiling.php
-               return sprintf("%10s %s %s\n", trim(sprintf("%7.3f", $delta * 1000.0)), $space, $fname);
-       }
-
-       function micro2Float($micro) {
-               list ($whole, $fractional) = explode(' ', $micro);
-               return (float) $whole + (float) $fractional;
-       }
-
-       function microDelta($start, $end) {
-               return $this->micro2Float($end) - $this->micro2Float($start);
-       }
-
-       function getFunctionReport() {
-               $width = 125;
-               $format = "%-". ($width -34)."s %6d %6.3f %6.3f %7.3f%% %6d (%6.3f-%6.3f) [%d]\n";
-               $titleFormat = "%-". ($width -34)."s %9s %9s %9s %9s %6s\n";
-=======
                return sprintf( "%10s %s %s\n",
                        trim( sprintf( "%7.3f", $delta * 1000.0 ) ),
                        $space, $fname );
@@ -204,7 +186,6 @@ class Profiler {
                $nameWidth = $width - 65;
                $format =      "%-{$nameWidth}s %6d %13.3f %13.3f %13.3f%% %9d  (%13.3f -%13.3f) [%d]\n";
                $titleFormat = "%-{$nameWidth}s %6s %13s %13s %13s %9s %14s   %14s %9s\n";
->>>>>>> 1.29.2.6
                $prof = "\nProfiling data\n";
                $prof .= sprintf($titleFormat, 'Name', 'Calls', 'Total', 'Each', '%', 'Mem');
                $this->mCollated = array ();