From caba2b36fa2b8fb0f688e5e6733b5d7c513ade7f Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Wed, 8 Nov 2017 08:24:14 +0100 Subject: [PATCH] analyze_brprob.py: fix SI units 2017-11-08 Martin Liska * analyze_brprob.py: Fix abbreviations for SI units. From-SVN: r254517 --- contrib/ChangeLog | 4 ++++ contrib/analyze_brprob.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/contrib/ChangeLog b/contrib/ChangeLog index df4b1bc0b80..a2828b8d793 100644 --- a/contrib/ChangeLog +++ b/contrib/ChangeLog @@ -1,3 +1,7 @@ +2017-11-08 Martin Liska + + * analyze_brprob.py: Fix abbreviations for SI units. + 2017-10-02 Thomas Schwinge * gcc_update (files_and_dependencies): Handle libbacktrace. diff --git a/contrib/analyze_brprob.py b/contrib/analyze_brprob.py index 8f83b5a0221..e03d1da1cde 100755 --- a/contrib/analyze_brprob.py +++ b/contrib/analyze_brprob.py @@ -149,7 +149,7 @@ class Summary: def count_formatted(self): v = self.count - for unit in ['','K','M','G','T','P','E','Z']: + for unit in ['', 'k', 'M', 'G', 'T', 'P', 'E', 'Z', 'Y']: if v < 1000: return "%3.2f%s" % (v, unit) v /= 1000.0 -- 2.30.2