]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Avoid unnecessary whitespace at end of printed lines.
authorNicholas Nethercote <njn@valgrind.org>
Mon, 27 Mar 2006 00:39:43 +0000 (00:39 +0000)
committerNicholas Nethercote <njn@valgrind.org>
Mon, 27 Mar 2006 00:39:43 +0000 (00:39 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5790

perf/vg_perf.in

index 5af4828ab3004d6add431119dcf204bf493a990e..53ed6ff5e154a6fd98e4f73084ef26be92b8f2ef 100644 (file)
@@ -294,7 +294,7 @@ sub do_one_test($$)
         printf("%-10s:", $vgdirname);
         
         # Native execution time
-        printf("%4.1fs  ", $tNative);
+        printf("%4.1fs", $tNative);
 
         foreach my $tool (@tools) {
             (defined $toolnames{$tool}) or 
@@ -302,7 +302,7 @@ sub do_one_test($$)
 
             # Do the tool run(s).  Set both VALGRIND_LIB and VALGRIND_LIB_INNER
             # in case this Valgrind was configured with --enable-inner.
-            printf("%s:", $toolnames{$tool});
+            printf("  %s:", $toolnames{$tool});
             my $vgsetup = "VALGRIND_LIB=$vgdir/.in_place "
                         . "VALGRIND_LIB_INNER=$vgdir/.in_place ";
             my $vgcmd   = "$vgdir/coregrind/valgrind "
@@ -319,10 +319,10 @@ sub do_one_test($$)
             # the speedup.
             if (not defined $first_tTool{$tool}) {
                 $first_tTool{$tool} = $tTool;
-                print(" -----)  ");
+                print(" -----)");
             } else {
                 my $speedup = 100 - (100 * $tTool / $first_tTool{$tool});
-                printf("%5.1f%%)  ", $speedup);
+                printf("%5.1f%%)", $speedup);
             }
 
             $num_timings_done++;