Percentages should be out of 100.0%, not 1.0%.

This commit is contained in:
Noah Gibbs 2021-06-30 09:41:19 +01:00 committed by Alan Wu
parent db02d73e5e
commit e2fe7e4aff
1 changed files with 1 additions and 1 deletions

View File

@ -190,7 +190,7 @@ module YJIT
total_exits = total_exit_count(stats)
top_n_total = exits.map { |name, count| count }.sum
top_n_exit_pct = top_n_total / total_exits
top_n_exit_pct = 100.0 * top_n_total / total_exits
$stderr.puts "Top-#{how_many} most frequent exit ops (#{"%.1f" % top_n_exit_pct}% of exits):"