aboutsummaryrefslogtreecommitdiffstats
path: root/debug_counter.h
diff options
context:
space:
mode:
authork0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-03-29 12:52:59 +0000
committerk0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-03-29 12:52:59 +0000
commitbb5ab13bf58e0ccfe5b4c08fec8a0e70612d598c (patch)
tree44c2ba5051b44ef8f88378c9fdf894ff347d7ef9 /debug_counter.h
parentfe904f1eec1fe96cf148407c3c4c010de7dd8b73 (diff)
downloadruby-bb5ab13bf58e0ccfe5b4c08fec8a0e70612d598c.tar.gz
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.h8
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)