summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2015-01-20 14:55:23 -0800
committerKenneth Graunke <kenneth@whitecape.org>2015-01-20 14:55:35 -0800
commit9f39a0dc78a0a4f8cae49d98eeb95f5f83b0309d (patch)
treed4c52d704691f20c18caf42afabd05b2f0fa8fed
parent1ad2fb262aae7b0ba120231f3320f1bafa0558dd (diff)
report.py: Print counts of helped/hurt programs.
-rwxr-xr-xreport.py12
1 files changed, 8 insertions, 4 deletions
diff --git a/report.py b/report.py
index 0ada56f..1c1e5ac 100755
--- a/report.py
+++ b/report.py
@@ -114,12 +114,16 @@ def main():
if len(gained) > 0:
print("")
- print("total instructions in shared programs: {0}\n"
- "instructions in affected programs: {1}\n"
- "GAINED: {2}\n"
- "LOST: {3}".format(
+ print("total instructions in shared programs: {}\n"
+ "instructions in affected programs: {}\n"
+ "helped: {}\n"
+ "HURT: {}\n"
+ "GAINED: {}\n"
+ "LOST: {}".format(
change(total_before, total_after),
change(affected_before, affected_after),
+ len(helped),
+ len(hurt),
len(gained),
len(lost)))