Lines Matching refs:statistics

559 	zval *memory_usage,*statistics,*scripts;  in ZEND_FUNCTION()  local
609 MAKE_STD_ZVAL(statistics); in ZEND_FUNCTION()
610 array_init(statistics); in ZEND_FUNCTION()
611 add_assoc_long(statistics, "num_cached_scripts", ZCSG(hash).num_direct_entries); in ZEND_FUNCTION()
612 add_assoc_long(statistics, "num_cached_keys", ZCSG(hash).num_entries); in ZEND_FUNCTION()
613 add_assoc_long(statistics, "max_cached_keys", ZCSG(hash).max_num_entries); in ZEND_FUNCTION()
614 add_assoc_long(statistics, "hits", ZCSG(hits)); in ZEND_FUNCTION()
615 add_assoc_long(statistics, "start_time", ZCSG(start_time)); in ZEND_FUNCTION()
616 add_assoc_long(statistics, "last_restart_time", ZCSG(last_restart_time)); in ZEND_FUNCTION()
617 add_assoc_long(statistics, "oom_restarts", ZCSG(oom_restarts)); in ZEND_FUNCTION()
618 add_assoc_long(statistics, "hash_restarts", ZCSG(hash_restarts)); in ZEND_FUNCTION()
619 add_assoc_long(statistics, "manual_restarts", ZCSG(manual_restarts)); in ZEND_FUNCTION()
620 …add_assoc_long(statistics, "misses", ZSMMG(memory_exhausted)?ZCSG(misses):ZCSG(misses)-ZCSG(blackl… in ZEND_FUNCTION()
621 add_assoc_long(statistics, "blacklist_misses", ZCSG(blacklist_misses)); in ZEND_FUNCTION()
623 …add_assoc_double(statistics, "blacklist_miss_ratio", reqs?(((double) ZCSG(blacklist_misses))/reqs)… in ZEND_FUNCTION()
624 add_assoc_double(statistics, "opcache_hit_rate", reqs?(((double) ZCSG(hits))/reqs)*100.0:0); in ZEND_FUNCTION()
625 add_assoc_zval(return_value, "opcache_statistics", statistics); in ZEND_FUNCTION()