summaryrefslogtreecommitdiff
path: root/yjit.rb
diff options
context:
space:
mode:
Diffstat (limited to 'yjit.rb')
-rw-r--r--yjit.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/yjit.rb b/yjit.rb
index db283fe33b..cf5cac5f2f 100644
--- a/yjit.rb
+++ b/yjit.rb
@@ -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):"