Bobby R. Bruce has uploaded this change for review. (
https://gem5-review.googlesource.com/c/public/gem5/+/43146 )
Change subject: python: Fix incorrect prefixes is m5.utils.convert
......................................................................
python: Fix incorrect prefixes is m5.utils.convert
The conversion functions incorrectly assumed that kibibytes are 'kiB'
rather than 'KiB' (correct).
Cherry-picked from:
https://gem5-review.googlesource.com/c/public/gem5/+/39375
Change-Id: Ia9409218c37284514fc4fabdabf327641db8cefc
---
M src/python/m5/util/convert.py
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/python/m5/util/convert.py b/src/python/m5/util/convert.py
index 077b6b4..ae667b3 100644
--- a/src/python/m5/util/convert.py
+++ b/src/python/m5/util/convert.py
@@ -62,7 +62,7 @@
'Gi': gibi,
'G': giga,
'M': mega,
- 'ki': kibi,
+ 'Ki': kibi,
'k': kilo,
'Mi': mebi,
'm': milli,
@@ -84,7 +84,7 @@
'G' : gibi,
'Mi': mebi,
'M' : mebi,
- 'ki': kibi,
+ 'Ki': kibi,
'k' : kibi,
}
--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/43146
To unsubscribe, or for help writing mail filters, visit
https://gem5-review.googlesource.com/settings
Gerrit-Project: public/gem5
Gerrit-Branch: hotfix-v20-1-0-5
Gerrit-Change-Id: Ia9409218c37284514fc4fabdabf327641db8cefc
Gerrit-Change-Number: 43146
Gerrit-PatchSet: 1
Gerrit-Owner: Bobby R. Bruce <[email protected]>
Gerrit-CC: Andreas Sandberg <[email protected]>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s