Pyrogenesis
13997
|
#include <cache_adt.h>
Classes | |
class | Map |
Public Member Functions | |
bool | empty () const |
void | add (const Key &key, const Entry &entry) |
bool | find (const Key &key, const Entry **pentry) const |
void | remove (const Key &key) |
void | on_access (Entry &entry) |
void | remove_least_valuable (std::list< Entry > &entry_list) |
Protected Types | |
typedef Map::iterator | MapIt |
typedef Map::const_iterator | MapCIt |
Protected Member Functions | |
MapIt | add_ (const Key &key, const Entry &entry) |
void | remove_ (MapIt it) |
void | charge (Entry &entry, float delta) |
void | charge_all (float delta) |
bool | should_evict (const Entry &entry) |
Protected Attributes | |
Map | map |
Private Attributes | |
McdCalc< Entry, Map > | mcd_calc |
Definition at line 233 of file cache_adt.h.
|
protected |
Definition at line 323 of file cache_adt.h.
|
protected |
Definition at line 322 of file cache_adt.h.
|
inline |
Definition at line 241 of file cache_adt.h.
|
inlineprotected |
Definition at line 327 of file cache_adt.h.
|
inlineprotected |
Definition at line 348 of file cache_adt.h.
|
inlineprotected |
Definition at line 359 of file cache_adt.h.
|
inline |
Definition at line 236 of file cache_adt.h.
|
inline |
Definition at line 247 of file cache_adt.h.
|
inline |
Definition at line 266 of file cache_adt.h.
|
inline |
Definition at line 256 of file cache_adt.h.
|
inlineprotected |
Definition at line 340 of file cache_adt.h.
|
inline |
Definition at line 278 of file cache_adt.h.
|
inlineprotected |
Definition at line 371 of file cache_adt.h.
|
protected |
Definition at line 324 of file cache_adt.h.
|
private |
Definition at line 380 of file cache_adt.h.