|
Revision 165, 0.6 KB
(checked in by moo, 7 years ago)
|
|
implement xcache.stat. and reimpl [160] for trunk to fix win32 hash problem
|
| Line | |
|---|
| 1 | |
|---|
| 2 | ZEND_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; |
|---|
| 16 | ZEND_END_MODULE_GLOBALS(xcache) |
|---|
| 17 | |
|---|
| 18 | ZEND_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 |
|---|