mirror of
https://github.com/yuzu-mirror/mbedtls.git
synced 2025-12-06 07:12:32 +01:00
code_size_compare: round percentage to an integer value
Signed-off-by: Yanray Wang <yanray.wang@arm.com>
This commit is contained in:
parent
f2cd717952
commit
25bd331899
|
|
@ -644,8 +644,8 @@ class CodeSizeGeneratorWithSize(CodeSizeGenerator):
|
|||
str(text_vari[0]) + "," + str(data_vari[0]),
|
||||
str(text_vari[1]) + "," + str(data_vari[1]),
|
||||
str(text_vari[2]) + "," + str(data_vari[2]),
|
||||
"{:.2%}".format(text_vari[3]) + ","
|
||||
+ "{:.2%}".format(data_vari[3])))
|
||||
"{:.0%}".format(text_vari[3]) + ","
|
||||
+ "{:.0%}".format(data_vari[3])))
|
||||
else:
|
||||
output.write(
|
||||
format_string
|
||||
|
|
|
|||
Loading…
Reference in a new issue