diff options
author | Marek Olšák <marek.olsak@amd.com> | 2023-04-13 18:50:25 -0400 |
---|---|---|
committer | Marek Olšák <marek.olsak@amd.com> | 2023-05-14 22:39:13 -0400 |
commit | 9bf8e5f894ccf658823b68619e078372407f8ba1 (patch) | |
tree | a9ca22014cdc7f8eb0479c67416e808c6811794c | |
parent | 5d9f1f0c7c8b56b14c887d861028906283e8f47d (diff) |
si-report.py: remove one space from all columns and center the names
-rwxr-xr-x | si-report.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/si-report.py b/si-report.py index 65e8abb..2172ca8 100755 --- a/si-report.py +++ b/si-report.py @@ -683,7 +683,7 @@ def print_tables(before_all_results, after_all_results): # percentages longest_app_name = max(longest_app_name, len("AFFECTED APPS")) title = "| {:^{width}} |".format("AFFECTED APPS", width=longest_app_name) - legend = ["{:>9} ".format(s) for s in ["Shaders", "SGPRs", "VGPRs", "SpillSGPR", "SpillVGPR", "PrivVGPR", "Scratch", "CodeSize", "MaxWaves", "Outputs", "PatchOuts"]] + legend = ["{:^9}".format(s) for s in ["Shaders", "SGPRs", "VGPRs", "SpillSGPR", "SpillVGPR", "PrivVGPR", "Scratch", "CodeSize", "MaxWaves", "Outputs", "PatchOuts"]] header = title + "|".join(legend) + "|" print_yellow(header) print("|".join(["-" * len(a) for a in (header).split("|")])) |