source: trunk/xcache_globals.h @ 399

Last change on this file since 399 was 399, checked in by moo, 8 years ago

added xcache.experimental for use to turn on experimental features

  • Property svn:eol-style set to native
File size: 702 bytes
Line 
1
2ZEND_BEGIN_MODULE_GLOBALS(xcache)
3    zend_bool cacher;      /* true if enabled */
4    zend_bool stat;
5    zend_bool experimental;
6#ifdef HAVE_XCACHE_OPTIMIZER
7    zend_bool optimizer;   /* true if enabled */
8#endif
9#ifdef HAVE_XCACHE_COVERAGER
10    zend_bool coverager;
11    zend_bool coverage_enabled;
12    HashTable *coverages;  /* coverages[file][line] = times */
13#endif
14    xc_stack_t *php_holds;
15    xc_stack_t *var_holds;
16    time_t request_time;
17    long   var_ttl;
18
19    HashTable internal_function_table;
20    HashTable internal_class_table;
21ZEND_END_MODULE_GLOBALS(xcache)
22
23ZEND_EXTERN_MODULE_GLOBALS(xcache)
24
25#ifdef ZTS
26# define XG(v) TSRMG(xcache_globals_id, zend_xcache_globals *, v)
27#else
28# define XG(v) (xcache_globals.v)
29#endif
Note: See TracBrowser for help on using the repository browser.