|
Last change
on this file since 1040 was
1040,
checked in by moo, 10 months ago
|
|
split cacher as sub module
|
-
Property svn:eol-style set to
native
|
|
File size:
1016 bytes
|
| Line | |
|---|
| 1 | #include "util/xc_stack.h" |
|---|
| 2 | |
|---|
| 3 | ZEND_BEGIN_MODULE_GLOBALS(xcache) |
|---|
| 4 | zend_bool initial_compile_file_called; /* true is origin_compile_file is called */ |
|---|
| 5 | zend_bool cacher; /* true if enabled */ |
|---|
| 6 | zend_bool stat; |
|---|
| 7 | zend_bool experimental; |
|---|
| 8 | #ifdef HAVE_XCACHE_OPTIMIZER |
|---|
| 9 | zend_bool optimizer; /* true if enabled */ |
|---|
| 10 | #endif |
|---|
| 11 | #ifdef HAVE_XCACHE_COVERAGER |
|---|
| 12 | zend_bool coverager; |
|---|
| 13 | zend_bool coverage_enabled; |
|---|
| 14 | HashTable *coverages; /* coverages[file][line] = times */ |
|---|
| 15 | #endif |
|---|
| 16 | xc_stack_t *php_holds; |
|---|
| 17 | zend_uint php_holds_size; |
|---|
| 18 | xc_stack_t *var_holds; |
|---|
| 19 | zend_uint var_holds_size; |
|---|
| 20 | time_t request_time; |
|---|
| 21 | long var_ttl; |
|---|
| 22 | |
|---|
| 23 | zend_llist gc_op_arrays; |
|---|
| 24 | |
|---|
| 25 | #ifdef HAVE_XCACHE_CONSTANT |
|---|
| 26 | HashTable internal_constant_table; |
|---|
| 27 | #endif |
|---|
| 28 | HashTable internal_function_table; |
|---|
| 29 | HashTable internal_class_table; |
|---|
| 30 | zend_bool internal_table_copied; |
|---|
| 31 | |
|---|
| 32 | void *sandbox; |
|---|
| 33 | ZEND_END_MODULE_GLOBALS(xcache) |
|---|
| 34 | |
|---|
| 35 | ZEND_EXTERN_MODULE_GLOBALS(xcache) |
|---|
| 36 | |
|---|
| 37 | #ifdef ZTS |
|---|
| 38 | # define XG(v) TSRMG(xcache_globals_id, zend_xcache_globals *, v) |
|---|
| 39 | #else |
|---|
| 40 | # define XG(v) (xcache_globals.v) |
|---|
| 41 | #endif |
|---|
Note: See
TracBrowser
for help on using the repository browser.