source: trunk/xcache_globals.h @ 165

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

implement xcache.stat. and reimpl [160] for trunk to fix win32 hash problem

File size: 583 bytes
Line 
1
2ZEND_BEGIN_MODULE_GLOBALS(xcache)
3    zend_bool cacher;      /* true if enabled */
4    zend_bool stat;
5#ifdef HAVE_XCACHE_OPTIMIZER
6    zend_bool optimizer;   /* true if enabled */
7#endif
8#ifdef HAVE_XCACHE_COVERAGER
9    zend_bool coveragedumper;
10    HashTable *coverages;  /* coverages[file][line] = times */
11#endif
12    xc_stack_t *php_holds;
13    xc_stack_t *var_holds;
14    time_t request_time;
15    long   var_ttl;
16ZEND_END_MODULE_GLOBALS(xcache)
17
18ZEND_EXTERN_MODULE_GLOBALS(xcache)
19
20#ifdef ZTS
21# define XG(v) TSRMG(xcache_globals_id, zend_xcache_globals *, v)
22#else
23# define XG(v) (xcache_globals.v)
24#endif
Note: See TracBrowser for help on using the repository browser.