Main Page | Class List | File List | Class Members

DIRECT_MAPPED_CACHE.hpp

00001 
00002 #include "CACHE_LINE.hpp"
00003 
00004 #ifndef _H_CS_DIRECT_MAPPED_CACHE
00005 #define _H_CS_DIRECT_MAPPED_CACHE
00006 
00008 class DIRECT_MAPPED_CACHE {
00009    protected:
00011         CACHE_LINE* _lines;
00012    
00014         unsigned long int _size;
00015         
00017         unsigned long int _line_size;
00018 
00019    public:
00021         DIRECT_MAPPED_CACHE( unsigned long int lines );
00022    
00024         ~DIRECT_MAPPED_CACHE();
00025         
00027         CACHE_LINE &getLine( void* pointer );
00028 };
00029 
00030 #endif

Generated on Fri Aug 15 18:12:22 2008 for Run-timeCacheSimulator by  doxygen 1.3.9.1