summaryrefslogtreecommitdiff
path: root/si-report.py
diff options
context:
space:
mode:
authorMarek Olšák <marek.olsak@amd.com>2023-07-16 02:34:57 -0400
committerMarek Olšák <marek.olsak@amd.com>2024-04-24 12:33:28 -0400
commit025f080d4c6081e0f7d557285051899cb32cf740 (patch)
treeac814a30e1f09404290010c3949e898dcb05fcd1 /si-report.py
parent2dfadec608cece3b05be6bb1ffe1a21af8a2d724 (diff)
si-report.py: fix table column spacing
Diffstat (limited to 'si-report.py')
-rwxr-xr-xsi-report.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/si-report.py b/si-report.py
index 19ea4a2..af82b9f 100755
--- a/si-report.py
+++ b/si-report.py
@@ -681,7 +681,7 @@ def print_tables(before_all_results, after_all_results):
print
# percentages
- longest_app_name = max(longest_app_name, len("AFFECTED APPS"))
+ longest_app_name = max(longest_app_name, len("Affected shaders"))
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"]]
header = title + "|".join(legend) + "|"
@@ -690,7 +690,7 @@ def print_tables(before_all_results, after_all_results):
for name, stats in sorted(apps.items()):
stats.print_percentages_end(name, longest_app_name, legend)
print("|".join(["-" * len(a) for a in (header).split("|")]))
- total_affected.print_percentages_end("All affected shaders", longest_app_name, legend)
+ total_affected.print_percentages_end("Affected shaders", longest_app_name, legend)
print("|".join(["-" * len(a) for a in (header).split("|")]))
total.print_percentages_end("Total", longest_app_name, legend)
print