"I am a person who works hard and plays hard."

Yuan Wei
Second Year Graduate Student Department of Computer Science
University of Virginia Charlottesville, VA 22903
Email: yw3f@cs.virginia.edu


Source Code Analysis

Main Page   Compound List   File List   Compound Members   File Members  

cache_t Struct Reference

#include <cache.h>

Collaboration diagram for cache_t:

Collaboration graph
[legend]
List of all members.

Public Attributes


Member Data Documentation

int cache_t::assoc
 

Definition at line 182 of file cache.h.

Referenced by cache_access(), cache_config(), and cache_create().

int cache_t::balloc
 

Definition at line 180 of file cache.h.

Referenced by cache_access(), and cache_create().

unsigned int(* cache_t::blk_access_fn)(enum mem_cmd cmd, md_addr_t baddr, int bsize, struct cache_blk_t *blk, tick_t now)
 

Referenced by cache_access(), cache_create(), cache_flush(), and cache_flush_addr().

md_addr_t cache_t::blk_mask
 

Definition at line 204 of file cache.h.

Referenced by cache_access(), and cache_create().

int cache_t::bsize
 

Definition at line 179 of file cache.h.

Referenced by cache_access(), cache_config(), cache_create(), cache_flush(), and cache_flush_addr().

tick_t cache_t::bus_free
 

Definition at line 212 of file cache.h.

Referenced by cache_access(), and cache_create().

byte_t* cache_t::data
 

Definition at line 233 of file cache.h.

Referenced by cache_create().

unsigned int cache_t::hit_latency
 

Definition at line 184 of file cache.h.

Referenced by cache_access(), cache_create(), cache_flush(), and cache_flush_addr().

counter_t cache_t::hits
 

Definition at line 222 of file cache.h.

Referenced by cache_access(), cache_create(), cache_reg_stats(), and cache_stats().

int cache_t::hsize
 

Definition at line 203 of file cache.h.

Referenced by cache_access(), cache_create(), cache_flush_addr(), and cache_probe().

counter_t cache_t::invalidations
 

Definition at line 226 of file cache.h.

Referenced by cache_create(), cache_flush(), cache_flush_addr(), cache_reg_stats(), and cache_stats().

struct cache_blk_t* cache_t::last_blk
 

Definition at line 230 of file cache.h.

Referenced by cache_access(), cache_create(), cache_flush(), and cache_flush_addr().

md_addr_t cache_t::last_tagset
 

Definition at line 229 of file cache.h.

Referenced by cache_access(), cache_create(), cache_flush(), and cache_flush_addr().

counter_t cache_t::misses
 

Definition at line 223 of file cache.h.

Referenced by cache_access(), cache_create(), cache_reg_stats(), and cache_stats().

char* cache_t::name
 

Definition at line 177 of file cache.h.

Referenced by cache_config(), cache_create(), cache_reg_stats(), and cache_stats().

int cache_t::nsets
 

Definition at line 178 of file cache.h.

Referenced by cache_config(), cache_create(), and cache_flush().

enum cache_policy cache_t::policy
 

Definition at line 183 of file cache.h.

Referenced by cache_access(), cache_config(), and cache_create().

counter_t cache_t::replacements
 

Definition at line 224 of file cache.h.

Referenced by cache_access(), cache_create(), cache_reg_stats(), and cache_stats().

md_addr_t cache_t::set_mask
 

Definition at line 206 of file cache.h.

Referenced by cache_create().

int cache_t::set_shift
 

Definition at line 205 of file cache.h.

Referenced by cache_create().

struct cache_set_t cache_t::sets[1]
 

Definition at line 237 of file cache.h.

Referenced by cache_access(), cache_create(), cache_flush(), cache_flush_addr(), and cache_probe().

md_addr_t cache_t::tag_mask
 

Definition at line 208 of file cache.h.

Referenced by cache_create().

int cache_t::tag_shift
 

Definition at line 207 of file cache.h.

Referenced by cache_create().

md_addr_t cache_t::tagset_mask
 

Definition at line 209 of file cache.h.

Referenced by cache_create().

int cache_t::usize
 

Definition at line 181 of file cache.h.

Referenced by cache_config(), and cache_create().

counter_t cache_t::writebacks
 

Definition at line 225 of file cache.h.

Referenced by cache_access(), cache_create(), cache_flush(), cache_flush_addr(), and cache_reg_stats().


The documentation for this struct was generated from the following file:


UVa CS Department of Computer Science
School of Engineering, University of Virginia
151 Engineer's Way, P.O. Box 400740
Charlottesville, Virginia 22904-4740

(434) 982-2200  Fax: (434) 982-2214