From 9f39a0dc78a0a4f8cae49d98eeb95f5f83b0309d Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Tue, 20 Jan 2015 14:55:23 -0800 Subject: report.py: Print counts of helped/hurt programs. --- report.py | 12 ++++++++---- 1 file 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))) -- cgit v1.2.3