Main Page | Class List | File List | Class Members

STATUS Class Reference

Class (struct) to simplify keeping cache statistics. More...

#include <STATUS.hpp>

List of all members.

Public Member Functions

unsigned long int totalMisses () const

Public Attributes

unsigned long int _lc
 Number of times cpu-to-cache latency occured.
unsigned long int _bc
 How much units of cpu-to-cache bandwith was needed.
unsigned long int _lm
 Number of times cache-to-main memory latency occured.
unsigned long int _bm
 How much units of cache-to-main memory bandwith was needed.
unsigned long int _misses
 How many cache misses occured.
unsigned long int _initialMisses
 How many initial cache misses occurred.
unsigned long int _hits
 How many cache hits occured.


Detailed Description

Class (struct) to simplify keeping cache statistics.


Member Function Documentation

unsigned long int STATUS::totalMisses  )  const [inline]
 

Returns:
The number of total misses, that is, the sum of the initial and non-initial misses.


Member Data Documentation

unsigned long int STATUS::_initialMisses
 

How many initial cache misses occurred.

Initial cache misses correspond to data items brought into cache for the first time.


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