|
From: <sv...@va...> - 2008-01-29 21:35:22
|
Author: njn
Date: 2008-01-29 21:35:25 +0000 (Tue, 29 Jan 2008)
New Revision: 7362
Log:
Massif: --time-unit=ms was broken in the ms_print script. People obviously
aren't using that option much!
MERGED FROM TRUNK
Modified:
branches/VALGRIND_3_3_BRANCH/massif/ms_print.in
Modified: branches/VALGRIND_3_3_BRANCH/massif/ms_print.in
===================================================================
--- branches/VALGRIND_3_3_BRANCH/massif/ms_print.in 2008-01-29 21:33:25 UTC (rev 7361)
+++ branches/VALGRIND_3_3_BRANCH/massif/ms_print.in 2008-01-29 21:35:25 UTC (rev 7362)
@@ -589,10 +589,10 @@
#-------------------------------------------------------------------------
my ($y_label, $y_unit) = B_max_label($peak_mem_total_szB);
my ($x_label, $x_unit);
- if ($time_unit eq "i") { ($x_label, $x_unit) = i_max_label($end_time) }
- elsif ($time_unit eq "s") { ($x_label, $x_unit) = t_max_label($end_time) }
- elsif ($time_unit eq "B") { ($x_label, $x_unit) = B_max_label($end_time) }
- else { die "bad time_unit: $time_unit\n"; }
+ if ($time_unit eq "i") { ($x_label, $x_unit) = i_max_label($end_time) }
+ elsif ($time_unit eq "ms") { ($x_label, $x_unit) = t_max_label($end_time) }
+ elsif ($time_unit eq "B") { ($x_label, $x_unit) = B_max_label($end_time) }
+ else { die "bad time_unit: $time_unit\n"; }
printf(" %2s\n", $y_unit);
for ($y = $graph_y; $y >= 0; $y--) {
|