From 9bf8e5f894ccf658823b68619e078372407f8ba1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Ol=C5=A1=C3=A1k?= <marek.olsak@amd.com> Date: Thu, 13 Apr 2023 18:50:25 -0400 Subject: [PATCH] si-report.py: remove one space from all columns and center the names --- si-report.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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("|")])) -- GitLab