diff options
author | Kenneth Graunke <kenneth@whitecape.org> | 2015-01-20 14:55:23 -0800 |
---|---|---|
committer | Kenneth Graunke <kenneth@whitecape.org> | 2015-01-20 14:55:35 -0800 |
commit | 9f39a0dc78a0a4f8cae49d98eeb95f5f83b0309d (patch) | |
tree | d4c52d704691f20c18caf42afabd05b2f0fa8fed | |
parent | 1ad2fb262aae7b0ba120231f3320f1bafa0558dd (diff) |
report.py: Print counts of helped/hurt programs.
-rwxr-xr-x | report.py | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -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))) |