Lines Matching refs:stats
242 zval stats; in zend_jit_status() local
243 array_init(&stats); in zend_jit_status()
244 add_assoc_bool(&stats, "enabled", JIT_G(enabled)); in zend_jit_status()
245 add_assoc_bool(&stats, "on", JIT_G(on)); in zend_jit_status()
246 add_assoc_long(&stats, "kind", JIT_G(trigger)); in zend_jit_status()
247 add_assoc_long(&stats, "opt_level", JIT_G(opt_level)); in zend_jit_status()
248 add_assoc_long(&stats, "opt_flags", JIT_G(opt_flags)); in zend_jit_status()
250 add_assoc_long(&stats, "buffer_size", (char*)dasm_end - (char*)dasm_buf); in zend_jit_status()
251 add_assoc_long(&stats, "buffer_free", (char*)dasm_end - (char*)*dasm_ptr); in zend_jit_status()
253 add_assoc_long(&stats, "buffer_size", 0); in zend_jit_status()
254 add_assoc_long(&stats, "buffer_free", 0); in zend_jit_status()
256 add_assoc_zval(ret, "jit", &stats); in zend_jit_status()