Skip to content

Commit

Permalink
pythongh-99905: Fix output of misses in summarize_stats.py execution …
Browse files Browse the repository at this point in the history
…counts

This was an indentation error introduced in 2844aa6
  • Loading branch information
mdboom committed Nov 30, 2022
1 parent 131801d commit 5ae4c95
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Tools/scripts/summarize_stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -317,11 +317,11 @@ def calculate_execution_counts(opcode_stats, total):
for (count, name, miss) in counts:
cumulative += count
if miss:
miss = f"{100*miss/count:0.1f}%"
miss = f"{100*miss/count:0.1f}%"
else:
miss = ""
rows.append((name, count, f"{100*count/total:0.1f}%",
f"{100*cumulative/total:0.1f}%", miss))
rows.append((name, count, f"{100*count/total:0.1f}%",
f"{100*cumulative/total:0.1f}%", miss))
return rows

def emit_execution_counts(opcode_stats, total):
Expand Down

0 comments on commit 5ae4c95

Please sign in to comment.