source: trunk/xcache_globals.h @ 1117

Last change on this file since 1117 was 1117, checked in by moo, 21 months ago

fixed #39: ini_set never work for xcache.coverager setting

  • Property svn:eol-style set to native
File size: 1.0 KB
RevLine 
[982]1#include "util/xc_stack.h"
[1]2
3ZEND_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;
[1117]13    zend_bool coverager_autostart;
14    zend_bool coverager_enabled;
[1]15    HashTable *coverages;  /* coverages[file][line] = times */
16#endif
17    xc_stack_t *php_holds;
[1040]18    zend_uint php_holds_size;
[1]19    xc_stack_t *var_holds;
[1040]20    zend_uint var_holds_size;
[1]21    time_t request_time;
[117]22    long   var_ttl;
[344]23
[656]24    zend_llist gc_op_arrays;
[498]25
[588]26#ifdef HAVE_XCACHE_CONSTANT
27    HashTable internal_constant_table;
28#endif
[344]29    HashTable internal_function_table;
30    HashTable internal_class_table;
[435]31    zend_bool internal_table_copied;
[496]32
33    void *sandbox;
[1]34ZEND_END_MODULE_GLOBALS(xcache)
35
36ZEND_EXTERN_MODULE_GLOBALS(xcache)
37
38#ifdef ZTS
39# define XG(v) TSRMG(xcache_globals_id, zend_xcache_globals *, v)
40#else
41# define XG(v) (xcache_globals.v)
42#endif
Note: See TracBrowser for help on using the repository browser.