#include <DIRECT_MAPPED_CACHE.hpp>
Collaboration diagram for DIRECT_MAPPED_CACHE:

Public Member Functions | |
| DIRECT_MAPPED_CACHE (unsigned long int lines) | |
| Base constructor. | |
| ~DIRECT_MAPPED_CACHE () | |
| Base deconstructor. | |
| CACHE_LINE & | getLine (void *pointer) |
| Gets the cache line belonging to a given pointer. | |
Protected Attributes | |
| CACHE_LINE * | _lines |
| Number of cache lines available. | |
| unsigned long int | _size |
| Total cache size. | |
| unsigned long int | _line_size |
| Total cache line size. | |
|
|
Total cache line size. Equals _size / _lines |
1.3.9.1