|
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
|
| Rev | Line | |
|---|
| [982] | 1 | #include "util/xc_stack.h" |
|---|
| [1] | 2 | |
|---|
| 3 | ZEND_BEGIN_MODULE_GLOBALS(xcache) |
|---|
| [405] | 4 | zend_bool initial_compile_file_called; /* true is origin_compile_file is called */ |
|---|
| [1] | 5 | zend_bool cacher; /* true if enabled */ |
|---|
| [165] | 6 | zend_bool stat; |
|---|
| [399] | 7 | zend_bool experimental; |
|---|
| [1] | 8 | #ifdef HAVE_XCACHE_OPTIMIZER |
|---|
| 9 | zend_bool optimizer; /* true if enabled */ |
|---|
| 10 | #endif |
|---|
| [28] | 11 | #ifdef HAVE_XCACHE_COVERAGER |
|---|
| [204] | 12 | zend_bool coverager; |
|---|
| 13 | zend_bool coverage_enabled; |
|---|
| [1] | 14 | HashTable *coverages; /* coverages[file][line] = times */ |
|---|
| 15 | #endif |
|---|
| 16 | xc_stack_t *php_holds; |
|---|
| [1040] | 17 | zend_uint php_holds_size; |
|---|
| [1] | 18 | xc_stack_t *var_holds; |
|---|
| [1040] | 19 | zend_uint var_holds_size; |
|---|
| [1] | 20 | time_t request_time; |
|---|
| [117] | 21 | long var_ttl; |
|---|
| [344] | 22 | |
|---|
| [656] | 23 | zend_llist gc_op_arrays; |
|---|
| [498] | 24 | |
|---|
| [588] | 25 | #ifdef HAVE_XCACHE_CONSTANT |
|---|
| 26 | HashTable internal_constant_table; |
|---|
| 27 | #endif |
|---|
| [344] | 28 | HashTable internal_function_table; |
|---|
| 29 | HashTable internal_class_table; |
|---|
| [435] | 30 | zend_bool internal_table_copied; |
|---|
| [496] | 31 | |
|---|
| 32 | void *sandbox; |
|---|
| [1] | 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.