XCache is a fast, stable PHP opcode cacher that has been proven and is now running on production servers under high load. https://xcache.lighttpd.net/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
566 B

  1. ZEND_BEGIN_MODULE_GLOBALS(xcache)
  2. zend_bool cacher; /* true if enabled */
  3. #ifdef HAVE_XCACHE_OPTIMIZER
  4. zend_bool optimizer; /* true if enabled */
  5. #endif
  6. #ifdef HAVE_XCACHE_COVERAGER
  7. zend_bool coveragedumper;
  8. HashTable *coverages; /* coverages[file][line] = times */
  9. #endif
  10. xc_stack_t *php_holds;
  11. xc_stack_t *var_holds;
  12. time_t request_time;
  13. long var_ttl;
  14. ZEND_END_MODULE_GLOBALS(xcache)
  15. ZEND_EXTERN_MODULE_GLOBALS(xcache)
  16. #ifdef ZTS
  17. # define XG(v) TSRMG(xcache_globals_id, zend_xcache_globals *, v)
  18. #else
  19. # define XG(v) (xcache_globals.v)
  20. #endif