source: trunk/xcache_globals.h @ 28

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

rename coverage -> coverager

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