Nicholas Nethercote
c3ae8f0ad3
If Massif's --threshold value was less than 1.0, in lines like this:
...
->00.00% (0B) in 11 places, all below massif's threshold (00.00%)
the threshold would always be incorrectly printed as 00.00%. This was
because the percentage printing was broken for percentages less than 1.0.
This change fixes this problem, and modifies a test to check for it.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11511
2011-01-27 23:07:56 +00:00
..
2009-04-27 01:27:58 +00:00
2007-11-01 04:40:37 +00:00
2009-04-17 04:26:41 +00:00
2009-04-27 01:27:58 +00:00
2007-11-01 04:40:37 +00:00
2009-04-17 04:26:41 +00:00
2009-02-18 05:14:44 +00:00
2009-04-27 01:27:58 +00:00
2007-11-26 21:59:04 +00:00
2009-04-17 04:26:41 +00:00
2009-02-18 05:14:44 +00:00
2009-04-27 01:27:58 +00:00
2007-11-01 04:40:37 +00:00
2009-04-17 04:26:41 +00:00
2009-02-18 05:14:44 +00:00
2009-04-27 01:27:58 +00:00
2007-11-01 04:40:37 +00:00
2009-04-17 04:26:41 +00:00
2009-02-18 05:14:44 +00:00
2009-07-01 02:44:12 +00:00
2009-08-07 15:46:56 +00:00
2009-02-18 05:14:44 +00:00
2009-07-01 02:44:12 +00:00
2009-08-07 15:46:56 +00:00
2009-04-15 03:12:43 +00:00
2009-04-27 01:27:58 +00:00
2007-11-01 04:40:37 +00:00
2009-04-17 04:26:41 +00:00
2009-04-27 01:27:58 +00:00
2007-11-01 04:40:37 +00:00
2009-04-17 04:26:41 +00:00
2009-04-27 01:27:58 +00:00
2009-07-01 02:44:12 +00:00
2009-08-07 15:46:56 +00:00
2009-04-27 01:27:58 +00:00
2009-07-01 02:44:12 +00:00
2009-08-07 15:46:56 +00:00
2009-04-27 01:27:58 +00:00
2007-11-01 04:40:37 +00:00
2009-04-17 04:26:41 +00:00
2009-02-18 05:14:44 +00:00
2009-08-12 00:14:44 +00:00
2009-04-17 04:26:41 +00:00
2009-04-24 04:57:07 +00:00
2009-04-27 01:27:58 +00:00
2009-04-17 04:26:41 +00:00
2009-04-17 04:26:41 +00:00
2007-11-10 04:08:08 +00:00
2009-04-27 01:27:58 +00:00
2007-11-01 04:40:37 +00:00
2009-04-17 04:26:41 +00:00
2009-02-18 05:14:44 +00:00
2011-01-27 23:07:56 +00:00
2007-11-01 04:40:37 +00:00
2011-01-27 23:07:56 +00:00
2009-02-18 05:14:44 +00:00
2009-04-27 01:27:58 +00:00
2008-01-20 22:30:52 +00:00
2009-04-17 04:26:41 +00:00
2007-11-03 11:16:31 +00:00
2009-04-27 01:27:58 +00:00
2007-11-01 04:40:37 +00:00
2009-04-17 04:26:41 +00:00
2009-06-24 00:37:09 +00:00
2009-05-28 01:53:07 +00:00
2009-02-17 04:31:18 +00:00
2009-05-19 05:36:23 +00:00
2007-11-03 11:16:31 +00:00
2009-04-27 01:27:58 +00:00
2007-11-01 04:40:37 +00:00
2009-04-17 04:26:41 +00:00
2009-04-17 04:26:41 +00:00
2007-11-01 04:40:37 +00:00
2009-04-17 04:26:41 +00:00
2007-11-01 04:40:37 +00:00
2009-04-17 04:26:41 +00:00
2007-11-01 04:40:37 +00:00
2009-04-17 04:26:41 +00:00
2009-02-18 05:14:44 +00:00
2009-04-17 04:26:41 +00:00
2009-05-21 03:36:21 +00:00
2007-11-01 04:40:37 +00:00
2009-04-17 04:26:41 +00:00
2008-11-08 15:01:22 +00:00
2009-04-27 01:27:58 +00:00
2007-11-01 04:40:37 +00:00
2009-04-17 04:26:41 +00:00
2009-04-27 01:27:58 +00:00
2009-07-01 02:44:12 +00:00
2009-08-07 15:46:56 +00:00
2009-02-18 05:14:44 +00:00
2009-04-27 01:27:58 +00:00
2007-11-01 04:40:37 +00:00
2009-04-17 04:26:41 +00:00
2009-02-18 05:14:44 +00:00
2009-04-27 01:27:58 +00:00
2009-07-01 02:44:12 +00:00
2009-08-07 15:46:56 +00:00
2009-04-27 01:27:58 +00:00
2007-11-01 04:40:37 +00:00
2009-04-17 04:26:41 +00:00
2009-04-27 01:27:58 +00:00
2007-11-01 04:40:37 +00:00
2009-04-17 04:26:41 +00:00
2009-04-27 01:27:58 +00:00
2007-11-01 04:40:37 +00:00
2009-04-17 04:26:41 +00:00
2009-04-27 01:27:58 +00:00
2007-11-01 04:40:37 +00:00
2009-04-17 04:26:41 +00:00
2009-04-27 01:27:58 +00:00
2007-11-01 04:40:37 +00:00
2009-04-17 04:26:41 +00:00
2009-04-27 01:27:58 +00:00
2007-11-01 04:40:37 +00:00
2009-04-17 04:26:41 +00:00
2009-02-18 05:14:44 +00:00
2009-04-17 04:26:41 +00:00
2007-11-01 04:40:37 +00:00
2009-04-17 04:26:41 +00:00
2009-04-17 04:26:41 +00:00
2007-11-01 04:40:37 +00:00
2009-04-17 04:26:41 +00:00
2007-11-01 04:40:37 +00:00