summaryrefslogtreecommitdiff
path: root/debug_counter.h
diff options
context:
space:
mode:
Diffstat (limited to 'debug_counter.h')
-rw-r--r--debug_counter.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/debug_counter.h b/debug_counter.h
index 0e13464d00..593d2f701d 100644
--- a/debug_counter.h
+++ b/debug_counter.h
@@ -322,6 +322,13 @@ RB_DEBUG_COUNTER(theap_alloc)
RB_DEBUG_COUNTER(theap_alloc_fail)
RB_DEBUG_COUNTER(theap_evacuate)
+// VM sync
+RB_DEBUG_COUNTER(vm_sync_lock)
+RB_DEBUG_COUNTER(vm_sync_lock_enter)
+RB_DEBUG_COUNTER(vm_sync_lock_enter_nb)
+RB_DEBUG_COUNTER(vm_sync_lock_enter_cr)
+RB_DEBUG_COUNTER(vm_sync_barrier)
+
/* mjit_exec() counts */
RB_DEBUG_COUNTER(mjit_exec)
RB_DEBUG_COUNTER(mjit_exec_not_added)