A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix private host variable after a migration - Adrien
[simgrid.git]
/
tools
/
sg_xml_unit_converter.py
diff --git
a/tools/sg_xml_unit_converter.py
b/tools/sg_xml_unit_converter.py
index
830e91f
..
5b53594
100644
(file)
--- a/
tools/sg_xml_unit_converter.py
+++ b/
tools/sg_xml_unit_converter.py
@@
-46,16
+46,16
@@
for root, dirnames, filenames in os.walk(sys.argv[1]):
power_formats = formats([( "1E0", "f"),
( "1E3", "kf"),
power_formats = formats([( "1E0", "f"),
( "1E3", "kf"),
- ( "1E6", "
m
f"),
- ( "1E9", "
g
f"),
- ("1E12", "
t
f"),
- ("1E15", "
p
t"),
- ("1E18", "
e
f"),
- ("1E21", "
z
f")])
+ ( "1E6", "
M
f"),
+ ( "1E9", "
G
f"),
+ ("1E12", "
T
f"),
+ ("1E15", "
P
t"),
+ ("1E18", "
E
f"),
+ ("1E21", "
Z
f")])
xml = format(xml, power_formats, "power")
bandwidth_formats = formats([( "1E0", "Bps"),
xml = format(xml, power_formats, "power")
bandwidth_formats = formats([( "1E0", "Bps"),
- ( "1E3", "
K
Bps"),
+ ( "1E3", "
k
Bps"),
( "1E6", "MBps"),
( "1E9", "GBps"),
("1E12", "TBps")])
( "1E6", "MBps"),
( "1E9", "GBps"),
("1E12", "TBps")])