|
0 A.D. | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Landlord | +--Landlord_Naive | +--Landlord_Lazyin cache_adt.h
Inner Classes, Typedefs, and Enums | |
struct |
Landlord_Lazy::CD_greater
|
typedef |
Landlord_Lazy::Map
|
typedef |
Landlord_Lazy::MapCIt
|
typedef |
Landlord_Lazy::MapIt
|
typedef |
Landlord_Lazy::Parent
|
Field Summary | |
private float |
pending_delta
|
private PriQ |
pri_q
|
Fields inherited from class Landlord |
map |
Constructor Summary | |
Landlord_Lazy()
|
Method Summary | |
void |
add( Key key, const Entry& entry )
|
private void |
commit_pending_delta()
|
void |
on_access( Entry& entry )
|
void |
remove( Key key )
|
void |
remove_least_valuable( std::list< Entry >& entry_list )
|
Methods inherited from class Landlord |
empty, add, find, remove, on_access, remove_least_valuable, add_, remove_, charge, charge_all, should_evict |
Field Detail |
private float pending_delta;
private PriQ pri_q;
Constructor Detail |
public Landlord_Lazy();
Method Detail |
public void add( Key key, const Entry& entry );
private void commit_pending_delta();
public void on_access( Entry& entry );
public void remove( Key key );
public void remove_least_valuable( std::list< Entry >& entry_list );
|
0 A.D.
Generated on September 04, 2007 at 18:14 CppDoc v2.4.0 |
|||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |