Lines Matching refs:ZCSG

337 …zend_persistent_script *persistent_script = zend_accel_hash_str_find(&ZCSG(hash), key, key_length);
445 ((ZCG(counted) || ZCSG(accelerator_enabled)) || file_cache_only)
447 (ZCG(counted) || ZCSG(accelerator_enabled))
485 snprintf(buf, sizeof(buf), ZEND_LONG_FMT, (zend_ulong)ZCSG(hits));
487 …snprintf(buf, sizeof(buf), ZEND_LONG_FMT, ZSMMG(memory_exhausted)?ZCSG(misses):ZCSG(misses)-ZCSG(b…
495 if (ZCSG(interned_strings_start) && ZCSG(interned_strings_end) && ZCSG(interned_strings_top)) {
496 …snprintf(buf, sizeof(buf), ZEND_LONG_FMT, ZCSG(interned_strings_top) - ZCSG(interned_strings_start…
498 …snprintf(buf, sizeof(buf), ZEND_LONG_FMT, ZCSG(interned_strings_end) - ZCSG(interned_strings_top));
501 snprintf(buf, sizeof(buf), "%d", ZCSG(hash).num_direct_entries);
503 snprintf(buf, sizeof(buf), "%d", ZCSG(hash).num_entries);
505 snprintf(buf, sizeof(buf), "%d", ZCSG(hash).max_num_entries);
507 snprintf(buf, sizeof(buf), ZEND_LONG_FMT, ZCSG(oom_restarts));
509 snprintf(buf, sizeof(buf), ZEND_LONG_FMT, ZCSG(hash_restarts));
511 snprintf(buf, sizeof(buf), ZEND_LONG_FMT, ZCSG(manual_restarts));
551 …if (!ZCG(enabled) || !accel_startup_ok || !ZCSG(accelerator_enabled) || accelerator_shm_read_lock(…
556 for (i = 0; i<ZCSG(hash).max_num_entries; i++) {
557 for (cache_entry = ZCSG(hash).hash_table[i]; cache_entry; cache_entry = cache_entry->next) {
613 …add_assoc_bool(return_value, "opcache_enabled", ZCG(enabled) && (ZCG(counted) || ZCSG(accelerator_…
626 add_assoc_bool(return_value, "restart_pending", ZCSG(restart_pending));
627 add_assoc_bool(return_value, "restart_in_progress", ZCSG(restart_in_progress));
637 if (ZCSG(interned_strings_start) && ZCSG(interned_strings_end) && ZCSG(interned_strings_top)) {
641 …add_assoc_long(&interned_strings_usage, "buffer_size", ZCSG(interned_strings_end) - ZCSG(interned_…
642 …add_assoc_long(&interned_strings_usage, "used_memory", ZCSG(interned_strings_top) - ZCSG(interned_…
643 …add_assoc_long(&interned_strings_usage, "free_memory", ZCSG(interned_strings_end) - ZCSG(interned_…
644 …add_assoc_long(&interned_strings_usage, "number_of_strings", ZCSG(interned_strings).nNumOfElements…
650 add_assoc_long(&statistics, "num_cached_scripts", ZCSG(hash).num_direct_entries);
651 add_assoc_long(&statistics, "num_cached_keys", ZCSG(hash).num_entries);
652 add_assoc_long(&statistics, "max_cached_keys", ZCSG(hash).max_num_entries);
653 add_assoc_long(&statistics, "hits", (zend_long)ZCSG(hits));
654 add_assoc_long(&statistics, "start_time", ZCSG(start_time));
655 add_assoc_long(&statistics, "last_restart_time", ZCSG(last_restart_time));
656 add_assoc_long(&statistics, "oom_restarts", ZCSG(oom_restarts));
657 add_assoc_long(&statistics, "hash_restarts", ZCSG(hash_restarts));
658 add_assoc_long(&statistics, "manual_restarts", ZCSG(manual_restarts));
659 …add_assoc_long(&statistics, "misses", ZSMMG(memory_exhausted)?ZCSG(misses):ZCSG(misses)-ZCSG(black…
660 add_assoc_long(&statistics, "blacklist_misses", ZCSG(blacklist_misses));
661 reqs = ZCSG(hits)+ZCSG(misses);
662 …add_assoc_double(&statistics, "blacklist_miss_ratio", reqs?(((double) ZCSG(blacklist_misses))/reqs…
663 add_assoc_double(&statistics, "opcache_hit_rate", reqs?(((double) ZCSG(hits))/reqs)*100.0:0);
765 if ((!ZCG(enabled) || !accel_startup_ok || !ZCSG(accelerator_enabled))
812 if (!ZCG(enabled) || !accel_startup_ok || !ZCSG(accelerator_enabled)) {
851 if (!ZCG(enabled) || !accel_startup_ok || !ZCSG(accelerator_enabled)) {