diff options
| author | Maxime Chevalier-Boisvert <maximechevalierb@gmail.com> | 2021-04-07 13:10:14 -0400 |
|---|---|---|
| committer | Alan Wu <XrXr@users.noreply.github.com> | 2021-10-20 18:19:33 -0400 |
| commit | 543bdde6c21f071e673aa8090086e1045ee4f2d9 (patch) | |
| tree | 175c4419ff9f93b625a03fcedf685e48ec23c450 | |
| parent | 7f4b9e8e6103c039f1f73e6d51f956f8c662b49a (diff) | |
Update yjit_iface.c
| -rw-r--r-- | yjit_iface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yjit_iface.c b/yjit_iface.c index 32b9c52da5..9e708b5bb8 100644 --- a/yjit_iface.c +++ b/yjit_iface.c @@ -795,7 +795,7 @@ print_insn_count_buffer(const struct insn_count *buffer, int how_many, int left_ int64_t retired_in_yjit = yjit_runtime_counters.exec_instruction - total_exit_count; // Average length of instruction sequences executed by YJIT - double avg_len_in_yjit = (double)yjit_runtime_counters.exec_instruction / total_exit_count; + double avg_len_in_yjit = (double)retired_in_yjit / total_exit_count; // Proportion of instructions that retire in YJIT double total_insns_count = retired_in_yjit + vm_insns_count; |
