Lines Matching refs:statistics
594 zval memory_usage, statistics, scripts; local
648 array_init(&statistics);
649 add_assoc_long(&statistics, "num_cached_scripts", ZCSG(hash).num_direct_entries);
650 add_assoc_long(&statistics, "num_cached_keys", ZCSG(hash).num_entries);
651 add_assoc_long(&statistics, "max_cached_keys", ZCSG(hash).max_num_entries);
652 add_assoc_long(&statistics, "hits", (zend_long)ZCSG(hits));
653 add_assoc_long(&statistics, "start_time", ZCSG(start_time));
654 add_assoc_long(&statistics, "last_restart_time", ZCSG(last_restart_time));
655 add_assoc_long(&statistics, "oom_restarts", ZCSG(oom_restarts));
656 add_assoc_long(&statistics, "hash_restarts", ZCSG(hash_restarts));
657 add_assoc_long(&statistics, "manual_restarts", ZCSG(manual_restarts));
658 …add_assoc_long(&statistics, "misses", ZSMMG(memory_exhausted)?ZCSG(misses):ZCSG(misses)-ZCSG(black…
659 add_assoc_long(&statistics, "blacklist_misses", ZCSG(blacklist_misses));
661 …add_assoc_double(&statistics, "blacklist_miss_ratio", reqs?(((double) ZCSG(blacklist_misses))/reqs…
662 add_assoc_double(&statistics, "opcache_hit_rate", reqs?(((double) ZCSG(hits))/reqs)*100.0:0);
663 add_assoc_zval(return_value, "opcache_statistics", &statistics);