Main Page | Class List | File List | Class Members

CACHE_SET_COLLECTION Class Reference

Represents a single cache set collection, i.e., the line C(i,:). More...

#include <CACHE_SET_COLLECTION.hpp>

Collaboration diagram for CACHE_SET_COLLECTION:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 CACHE_SET_COLLECTION (unsigned int _k)
 Base constructor.
 ~CACHE_SET_COLLECTION ()
 Base deconstructor.
bool bringIntoCache (unsigned long int pointer)
 Brings a memory line into cache.
void clear ()
 Clears the LRU stack of all entries.

Protected Attributes

unsigned int k
 Number of different setIDs available.
LRU_STACKstack
 The LRU stack datastructure used for simulation.

Detailed Description

Represents a single cache set collection, i.e., the line C(i,:).


Member Function Documentation

bool CACHE_SET_COLLECTION::bringIntoCache unsigned long int  pointer  ) 
 

Brings a memory line into cache.

Returns:
Whether or not the data was cached.


The documentation for this class was generated from the following files:
Generated on Fri Aug 15 18:12:23 2008 for Run-timeCacheSimulator by  doxygen 1.3.9.1