Main Page | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members | File Members

Banked_Cache Class Reference

#include <cache.h>

List of all members.

Public Member Functions

 Banked_Cache ()
 Banked_Cache (int c, int b, int s)
 ~Banked_Cache ()
void simulate (char rw, unsigned int start_address, unsigned int num_of_op, unsigned int global_time)
void show_cache (FILE *f)
void report (FILE *f)
int total_num_of_miss ()
 Banked_Cache ()
 Banked_Cache (int c, int b, int s)
 ~Banked_Cache ()
void simulate (char rw, unsigned int start_address, unsigned int num_of_op, unsigned int global_time)
void show_cache (FILE *f)
void report (FILE *f)
int total_num_of_miss ()

Private Attributes

int t_cache_access
int t_cache_misses
int t_cache_access_both_banks
Cache_bank0
Cache_bank1
int _c
int _b
int _s
unsigned int _block_size
Cache_bank0
Cache_bank1


Constructor & Destructor Documentation

Banked_Cache::Banked_Cache  )  [inline]
 

Definition at line 161 of file include/cache.h.

References _bank0, _bank1, and _block_size.

Banked_Cache::Banked_Cache int  c,
int  b,
int  s
[inline]
 

Definition at line 167 of file include/cache.h.

References _b, _bank0, _bank1, _block_size, _c, _s, c, t_cache_access, t_cache_access_both_banks, and t_cache_misses.

Banked_Cache::~Banked_Cache  )  [inline]
 

Definition at line 185 of file include/cache.h.

References _bank0, and _bank1.

Banked_Cache::Banked_Cache  )  [inline]
 

Definition at line 161 of file src/cache.h.

References _bank0, _bank1, and _block_size.

Banked_Cache::Banked_Cache int  c,
int  b,
int  s
[inline]
 

Definition at line 167 of file src/cache.h.

References _b, _bank0, _bank1, _block_size, _c, _s, c, t_cache_access, t_cache_access_both_banks, and t_cache_misses.

Banked_Cache::~Banked_Cache  )  [inline]
 

Definition at line 185 of file src/cache.h.

References _bank0, and _bank1.


Member Function Documentation

void Banked_Cache::report FILE *  f  ) 
 

void Banked_Cache::report FILE *  f  ) 
 

Definition at line 381 of file cache.cpp.

References _bank0, _bank1, fprintf(), Cache::report(), t_cache_access, t_cache_access_both_banks, and t_cache_misses.

Referenced by VLIW::output().

void Banked_Cache::show_cache FILE *  f  ) 
 

void Banked_Cache::show_cache FILE *  f  ) 
 

Definition at line 373 of file cache.cpp.

References _bank0, _bank1, fprintf(), and Cache::show_cache().

Referenced by VLIW::output().

void Banked_Cache::simulate char  rw,
unsigned int  start_address,
unsigned int  num_of_op,
unsigned int  global_time
[inline]
 

Definition at line 191 of file src/cache.h.

References _b, _bank0, _bank1, Cache::simulate(), t_cache_access, t_cache_access_both_banks, and t_cache_misses.

void Banked_Cache::simulate char  rw,
unsigned int  start_address,
unsigned int  num_of_op,
unsigned int  global_time
[inline]
 

Definition at line 191 of file include/cache.h.

References _b, _bank0, _bank1, Cache::simulate(), t_cache_access, t_cache_access_both_banks, and t_cache_misses.

Referenced by VLIW::process_pipeline().

int Banked_Cache::total_num_of_miss  ) 
 

int Banked_Cache::total_num_of_miss  ) 
 

Definition at line 407 of file cache.cpp.

References _bank0, _bank1, and Cache::total_num_of_miss().

Referenced by VLIW::output().


Member Data Documentation

int Banked_Cache::_b [private]
 

Definition at line 305 of file src/cache.h.

Referenced by Banked_Cache(), and simulate().

Cache* Banked_Cache::_bank0 [private]
 

Definition at line 301 of file src/cache.h.

Cache* Banked_Cache::_bank0 [private]
 

Definition at line 301 of file include/cache.h.

Referenced by Banked_Cache(), report(), show_cache(), simulate(), total_num_of_miss(), and ~Banked_Cache().

Cache* Banked_Cache::_bank1 [private]
 

Definition at line 302 of file src/cache.h.

Cache* Banked_Cache::_bank1 [private]
 

Definition at line 302 of file include/cache.h.

Referenced by Banked_Cache(), report(), show_cache(), simulate(), total_num_of_miss(), and ~Banked_Cache().

unsigned int Banked_Cache::_block_size [private]
 

Definition at line 309 of file src/cache.h.

Referenced by Banked_Cache().

int Banked_Cache::_c [private]
 

Definition at line 304 of file src/cache.h.

Referenced by Banked_Cache().

int Banked_Cache::_s [private]
 

Definition at line 306 of file src/cache.h.

Referenced by Banked_Cache().

int Banked_Cache::t_cache_access [private]
 

Definition at line 156 of file src/cache.h.

Referenced by Banked_Cache(), report(), and simulate().

int Banked_Cache::t_cache_access_both_banks [private]
 

Definition at line 158 of file src/cache.h.

Referenced by Banked_Cache(), report(), and simulate().

int Banked_Cache::t_cache_misses [private]
 

Definition at line 157 of file src/cache.h.

Referenced by Banked_Cache(), report(), and simulate().


The documentation for this class was generated from the following files:
Generated on Mon Jul 21 20:30:52 2003 for TINKER LEGO DOC by doxygen 1.3.2