~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to include/keycache.h

  • Committer: Brian Aker
  • Date: 2008-07-13 22:21:51 UTC
  • Revision ID: brian@tangent.org-20080713222151-fv2tcpbsc829j2oc
Ulonglong to uint64_t

Show diffs side-by-side

added added

removed removed

Lines of Context:
66
66
  uint key_cache_block_size;     /* size of the page buffer of a cache block */
67
67
  ulong min_warm_blocks;         /* min number of warm blocks;               */
68
68
  ulong age_threshold;           /* age threshold for hot blocks             */
69
 
  ulonglong keycache_time;       /* total number of block link operations    */
 
69
  uint64_t keycache_time;       /* total number of block link operations    */
70
70
  uint hash_entries;             /* max number of entries in the hash table  */
71
71
  int hash_links;                /* max number of hash links                 */
72
72
  int hash_links_used;           /* number of hash links currently used      */
102
102
    initializing the key cache.
103
103
  */
104
104
 
105
 
  ulonglong param_buff_size;    /* size the memory allocated for the cache  */
 
105
  uint64_t param_buff_size;    /* size the memory allocated for the cache  */
106
106
  ulong param_block_size;       /* size of the blocks in the key cache      */
107
107
  ulong param_division_limit;   /* min. percentage of warm blocks           */
108
108
  ulong param_age_threshold;    /* determines when hot block is downgraded  */
109
109
 
110
110
  /* Statistics variables. These are reset in reset_key_cache_counters(). */
111
111
  ulong global_blocks_changed;  /* number of currently dirty blocks         */
112
 
  ulonglong global_cache_w_requests;/* number of write requests (write hits) */
113
 
  ulonglong global_cache_write;     /* number of writes from cache to files  */
114
 
  ulonglong global_cache_r_requests;/* number of read requests (read hits)   */
115
 
  ulonglong global_cache_read;      /* number of reads from files to cache   */
 
112
  uint64_t global_cache_w_requests;/* number of write requests (write hits) */
 
113
  uint64_t global_cache_write;     /* number of writes from cache to files  */
 
114
  uint64_t global_cache_r_requests;/* number of read requests (read hits)   */
 
115
  uint64_t global_cache_read;      /* number of reads from files to cache   */
116
116
 
117
117
  int blocks;                   /* max number of blocks in the cache        */
118
118
  my_bool in_init;              /* Set to 1 in MySQL during init/resize     */