From: Nicholas Nethercote Date: Mon, 27 Mar 2006 00:39:43 +0000 (+0000) Subject: Avoid unnecessary whitespace at end of printed lines. X-Git-Tag: svn/VALGRIND_3_2_0~169 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c271b4af413de1e100a99c5f18acac1c503df6fe;p=thirdparty%2Fvalgrind.git Avoid unnecessary whitespace at end of printed lines. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5790 --- diff --git a/perf/vg_perf.in b/perf/vg_perf.in index 5af4828ab3..53ed6ff5e1 100644 --- a/perf/vg_perf.in +++ b/perf/vg_perf.in @@ -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++;