Changeset 1062 for trunk/mod_cacher/xc_cache.h
- Timestamp:
- 2012-07-27T17:10:17+02:00 (11 months ago)
- Location:
- trunk
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
mod_cacher/xc_cache.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:ignore
-
old new 18 18 devel.ini 19 19 devel.php 20 devel.fpm 20 21 .gdb_history 21 22 include
-
- Property svn:ignore
-
trunk/mod_cacher/xc_cache.h
r1051 r1062 11 11 typedef ulong xc_hash_value_t; 12 12 typedef struct _xc_hash_t xc_hash_t; 13 typedef struct _xc_cached_t xc_cached_t; 13 14 typedef struct _xc_entry_t xc_entry_t; 14 15 typedef struct _xc_entry_data_php_t xc_entry_data_php_t; … … 16 17 struct _xc_lock_t; 17 18 struct _xc_shm_t; 18 /* {{{ xc_cache_t */19 /* {{{ xc_cache_t: only cache info, not in shm */ 19 20 typedef struct { 20 21 int cacheid; 21 22 xc_hash_t *hcache; /* hash to cacheid */ 22 23 23 time_t compiling;24 zend_ulong updates;25 zend_ulong hits;26 zend_ulong clogs;27 zend_ulong ooms;28 zend_ulong errors;29 24 struct _xc_lock_t *lck; 30 25 struct _xc_shm_t *shm; /* which shm contains us */ 31 26 struct _xc_mem_t *mem; /* which mem contains us */ 32 27 33 xc_entry_t **entries;34 int entries_count;35 xc_entry_data_php_t **phps;36 int phps_count;37 xc_entry_t *deletes;38 int deletes_count;39 28 xc_hash_t *hentry; /* hash settings to entry */ 40 29 xc_hash_t *hphp; /* hash settings to php */ 41 42 time_t last_gc_deletes; 43 time_t last_gc_expires; 44 45 time_t hits_by_hour_cur_time; 46 zend_uint hits_by_hour_cur_slot; 47 zend_ulong hits_by_hour[24]; 48 time_t hits_by_second_cur_time; 49 zend_uint hits_by_second_cur_slot; 50 zend_ulong hits_by_second[5]; 30 xc_cached_t *cached; 51 31 } xc_cache_t; 52 32 /* }}} */
Note: See TracChangeset
for help on using the changeset viewer.

