gem5
v20.1.0.0
|
#include <PerfectCacheMemory.hh>
Public Member Functions | |
PerfectCacheMemory () | |
bool | isTagPresent (Addr address) const |
bool | cacheAvail (Addr address) const |
void | allocate (Addr address) |
void | deallocate (Addr address) |
Addr | cacheProbe (Addr newAddress) const |
ENTRY * | lookup (Addr address) |
const ENTRY * | lookup (Addr address) const |
AccessPermission | getPermission (Addr address) const |
void | changePermission (Addr address, AccessPermission new_perm) |
void | print (std::ostream &out) const |
Private Member Functions | |
PerfectCacheMemory (const PerfectCacheMemory &obj) | |
PerfectCacheMemory & | operator= (const PerfectCacheMemory &obj) |
Private Attributes | |
std::unordered_map< Addr, PerfectCacheLineState< ENTRY > > | m_map |
Definition at line 65 of file PerfectCacheMemory.hh.
|
inline |
Definition at line 117 of file PerfectCacheMemory.hh.
|
private |
|
inline |
Definition at line 140 of file PerfectCacheMemory.hh.
References PerfectCacheLineState< ENTRY >::m_entry, PerfectCacheLineState< ENTRY >::m_permission, and makeLineAddress().
|
inline |
Definition at line 131 of file PerfectCacheMemory.hh.
|
inline |
Definition at line 160 of file PerfectCacheMemory.hh.
References panic.
|
inline |
Definition at line 191 of file PerfectCacheMemory.hh.
References PerfectCacheLineState< ENTRY >::m_permission, and makeLineAddress().
|
inline |
Definition at line 151 of file PerfectCacheMemory.hh.
References makeLineAddress().
|
inline |
Definition at line 184 of file PerfectCacheMemory.hh.
References makeLineAddress().
|
inline |
Definition at line 124 of file PerfectCacheMemory.hh.
References makeLineAddress().
|
inline |
Definition at line 169 of file PerfectCacheMemory.hh.
References makeLineAddress().
|
inline |
Definition at line 177 of file PerfectCacheMemory.hh.
References makeLineAddress().
|
private |
|
inline |
Definition at line 201 of file PerfectCacheMemory.hh.
Referenced by operator<<().
|
private |
Definition at line 103 of file PerfectCacheMemory.hh.