Overview   Project   Class   Tree   Deprecated   Index 
0 A.D.
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

lib
Class Landlord_Lazy

Landlord
   |
   +--Landlord_Naive
         |
         +--Landlord_Lazy

   in cache_adt.h

template < typename Key , class Entry > class Landlord_Lazy
extends Landlord_Naive


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

pending_delta

private float pending_delta;

pri_q

private PriQ pri_q;


Constructor Detail

Landlord_Lazy

public Landlord_Lazy();


Method Detail

add

public void add( Key key, const Entry& entry );

commit_pending_delta

private void commit_pending_delta();

on_access

public void on_access( Entry& entry );

remove

public void remove( Key key );

remove_least_valuable

public void remove_least_valuable( std::list< Entry >& entry_list );

 Overview   Project   Class   Tree   Deprecated   Index 
0 A.D.
Generated on September 04, 2007 at 18:14
CppDoc v2.4.0
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD