code_size_compare: print 'None' if comparing size for a new file
Signed-off-by: Yanray Wang <yanray.wang@arm.com>
This commit is contained in:
parent
69262fc087
commit
f2cd717952
1 changed files with 5 additions and 3 deletions
|
@ -647,9 +647,11 @@ class CodeSizeGeneratorWithSize(CodeSizeGenerator):
|
|||
"{:.2%}".format(text_vari[3]) + ","
|
||||
+ "{:.2%}".format(data_vari[3])))
|
||||
else:
|
||||
output.write("{:<30} {:<18}\n"
|
||||
.format(fname,
|
||||
str(text_vari[0]) + "," + str(data_vari[0])))
|
||||
output.write(
|
||||
format_string
|
||||
.format(fname,
|
||||
str(text_vari[0]) + "," + str(data_vari[0]),
|
||||
'None', 'None', 'None'))
|
||||
|
||||
|
||||
class CodeSizeComparison:
|
||||
|
|
Loading…
Reference in a new issue