source: git/xcache_globals.h @ 5230b60

1.21.33.03.13.2trunk
Last change on this file since 5230b60 was 5230b60, checked in by Xuefer <xuefer@…>, 14 years ago

coverager: new api xcache_coverager_start/xcache_coverager_stop/xcache_coverager_get(), coverager ini changed

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@204 c26eb9a1-5813-0410-bd6c-c2e55f420ca7

  • Property mode set to 100644
File size: 607 bytes
Line 
1
2ZEND_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 coverager;
10    zend_bool coverage_enabled;
11    HashTable *coverages;  /* coverages[file][line] = times */
12#endif
13    xc_stack_t *php_holds;
14    xc_stack_t *var_holds;
15    time_t request_time;
16    long   var_ttl;
17ZEND_END_MODULE_GLOBALS(xcache)
18
19ZEND_EXTERN_MODULE_GLOBALS(xcache)
20
21#ifdef ZTS
22# define XG(v) TSRMG(xcache_globals_id, zend_xcache_globals *, v)
23#else
24# define XG(v) (xcache_globals.v)
25#endif
Note: See TracBrowser for help on using the repository browser.