Author: njn
Date: 2008-01-29 21:33:25 +0000 (Tue, 29 Jan 2008)
New Revision: 7361

Log:
Massif: --time-unit=ms was broken in the ms_print script.  People obviously
aren't using that option much!

Modified:
   trunk/massif/ms_print.in


Modified: trunk/massif/ms_print.in
===================================================================
--- trunk/massif/ms_print.in    2008-01-29 04:12:48 UTC (rev 7360)
+++ trunk/massif/ms_print.in    2008-01-29 21:33:25 UTC (rev 7361)
@@ -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--) {


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Valgrind-developers mailing list
Valgrind-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-developers

Reply via email to