|
From: <sv...@va...> - 2006-03-27 00:39:51
|
Author: njn
Date: 2006-03-27 01:39:43 +0100 (Mon, 27 Mar 2006)
New Revision: 5790
Log:
Avoid unnecessary whitespace at end of printed lines.
Modified:
trunk/perf/vg_perf.in
Modified: trunk/perf/vg_perf.in
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/perf/vg_perf.in 2006-03-24 16:48:19 UTC (rev 5789)
+++ trunk/perf/vg_perf.in 2006-03-27 00:39:43 UTC (rev 5790)
@@ -294,7 +294,7 @@
printf("%-10s:", $vgdirname);
=20
# Native execution time
- printf("%4.1fs ", $tNative);
+ printf("%4.1fs", $tNative);
=20
foreach my $tool (@tools) {
(defined $toolnames{$tool}) or=20
@@ -302,7 +302,7 @@
=20
# Do the tool run(s). Set both VALGRIND_LIB and VALGRIND_LI=
B_INNER
# in case this Valgrind was configured with --enable-inner.
- printf("%s:", $toolnames{$tool});
+ printf(" %s:", $toolnames{$tool});
my $vgsetup =3D "VALGRIND_LIB=3D$vgdir/.in_place "
. "VALGRIND_LIB_INNER=3D$vgdir/.in_place ";
my $vgcmd =3D "$vgdir/coregrind/valgrind "
@@ -319,10 +319,10 @@
# the speedup.
if (not defined $first_tTool{$tool}) {
$first_tTool{$tool} =3D $tTool;
- print(" -----) ");
+ print(" -----)");
} else {
my $speedup =3D 100 - (100 * $tTool / $first_tTool{$tool=
});
- printf("%5.1f%%) ", $speedup);
+ printf("%5.1f%%)", $speedup);
}
=20
$num_timings_done++;
|