diff options
author | k0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2019-03-29 12:52:59 +0000 |
---|---|---|
committer | k0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2019-03-29 12:52:59 +0000 |
commit | bb5ab13bf58e0ccfe5b4c08fec8a0e70612d598c (patch) | |
tree | 44c2ba5051b44ef8f88378c9fdf894ff347d7ef9 /debug_counter.h | |
parent | fe904f1eec1fe96cf148407c3c4c010de7dd8b73 (diff) |
Add debug counters for MJIT
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'debug_counter.h')
-rw-r--r-- | debug_counter.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/debug_counter.h b/debug_counter.h index dc99986f61..16713db577 100644 --- a/debug_counter.h +++ b/debug_counter.h @@ -255,6 +255,14 @@ RB_DEBUG_COUNTER(theap_alloc) RB_DEBUG_COUNTER(theap_alloc_fail) RB_DEBUG_COUNTER(theap_evacuate) +/* mjit_exec() counts */ +RB_DEBUG_COUNTER(mjit_exec) +RB_DEBUG_COUNTER(mjit_exec_call_func) +RB_DEBUG_COUNTER(mjit_exec_not_added) +RB_DEBUG_COUNTER(mjit_exec_not_added_add_iseq) +RB_DEBUG_COUNTER(mjit_exec_not_ready) +RB_DEBUG_COUNTER(mjit_exec_not_compiled) + /* load (not implemented yet) */ /* RB_DEBUG_COUNTER(load_files) |