summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Olšák <marek.olsak@amd.com>2023-04-06 23:51:21 -0400
committerMarek Olšák <marek.olsak@amd.com>2023-05-14 22:38:59 -0400
commitff84aebd8dc8b167198980026d242a59e454afee (patch)
tree93d995785246ca21a3fa844dc8b68925b43001ac
parenta66c991fca85eab192340d0c0f4d89e6662c4718 (diff)
si-report.py: print 24 changes shaders instead of 40 per group
-rwxr-xr-xsi-report.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/si-report.py b/si-report.py
index bbc25c9..52a60b5 100755
--- a/si-report.py
+++ b/si-report.py
@@ -574,7 +574,6 @@ def print_yellow(str):
def print_tables(before_all_results, after_all_results):
re_app = re.compile(r"^.*/([^/]+)/[^/]+$")
- num_listed = 40
apps = defaultdict(grouped_stats)
shaders = defaultdict(grouped_stats)
total = grouped_stats()
@@ -630,7 +629,7 @@ def print_tables(before_all_results, after_all_results):
print_yellow(" VGPRs Spills Private Scratch")
stats.print_one_shader_vgpr_spill(name)
num += 1
- if num == num_listed:
+ if num == 24:
break
if num > 0:
print
@@ -650,7 +649,7 @@ def print_tables(before_all_results, after_all_results):
print_yellow(" SGPRs Spills")
stats.print_one_shader_sgpr_spill(name)
num += 1
- if num == num_listed:
+ if num == 24:
break
if num > 0:
print
@@ -686,7 +685,7 @@ def print_tables(before_all_results, after_all_results):
print_yellow(" Before After Delta Percentage")
stats.print_regression(name, field)
num += 1
- if num == num_listed:
+ if num == 24:
break
if num > 0:
print
@@ -716,7 +715,7 @@ def print_tables(before_all_results, after_all_results):
print_yellow(" Before After Delta Percentage")
stats.print_regression(name, field)
num += 1
- if num == num_listed:
+ if num == 24:
break
if num > 0:
print