Stxxl
1.4.0
|
Block scheduling algorithm caching via the least recently used policy (online). More...
#include <block_scheduler.h>
Block scheduling algorithm caching via the least recently used policy (online).
Definition at line 564 of file block_scheduler.h.
typedef block_scheduler_algorithm<SwappableBlockType> stxxl::block_scheduler_algorithm_online_lru< SwappableBlockType >::block_scheduler_algorithm_type [protected] |
Definition at line 568 of file block_scheduler.h.
typedef block_scheduler<SwappableBlockType> stxxl::block_scheduler_algorithm_online_lru< SwappableBlockType >::block_scheduler_type [protected] |
Reimplemented from stxxl::block_scheduler_algorithm< SwappableBlockType >.
Definition at line 567 of file block_scheduler.h.
typedef block_scheduler_type::external_block_type stxxl::block_scheduler_algorithm_online_lru< SwappableBlockType >::external_block_type [protected] |
Reimplemented from stxxl::block_scheduler_algorithm< SwappableBlockType >.
Definition at line 570 of file block_scheduler.h.
typedef block_scheduler_type::internal_block_type stxxl::block_scheduler_algorithm_online_lru< SwappableBlockType >::internal_block_type [protected] |
Reimplemented from stxxl::block_scheduler_algorithm< SwappableBlockType >.
Definition at line 569 of file block_scheduler.h.
typedef block_scheduler_type::swappable_block_identifier_type stxxl::block_scheduler_algorithm_online_lru< SwappableBlockType >::swappable_block_identifier_type [protected] |
Reimplemented from stxxl::block_scheduler_algorithm< SwappableBlockType >.
Definition at line 571 of file block_scheduler.h.
stxxl::block_scheduler_algorithm_online_lru< SwappableBlockType >::block_scheduler_algorithm_online_lru | ( | block_scheduler_type & | bs | ) | [inline] |
Definition at line 603 of file block_scheduler.h.
References init().
stxxl::block_scheduler_algorithm_online_lru< SwappableBlockType >::block_scheduler_algorithm_online_lru | ( | block_scheduler_algorithm_type * | old | ) | [inline] |
Definition at line 607 of file block_scheduler.h.
References init().
virtual stxxl::block_scheduler_algorithm_online_lru< SwappableBlockType >::~block_scheduler_algorithm_online_lru | ( | ) | [inline, virtual] |
Definition at line 611 of file block_scheduler.h.
virtual internal_block_type& stxxl::block_scheduler_algorithm_online_lru< SwappableBlockType >::acquire | ( | const swappable_block_identifier_type | sbid, |
const bool | uninitialized = false |
||
) | [inline, virtual] |
Implements stxxl::block_scheduler_algorithm< SwappableBlockType >.
Definition at line 629 of file block_scheduler.h.
References stxxl::block_scheduler_algorithm_online_lru< SwappableBlockType >::acquire().
Referenced by stxxl::block_scheduler_algorithm_online_lru< SwappableBlockType >::acquire().
virtual void stxxl::block_scheduler_algorithm_online_lru< SwappableBlockType >::deinitialize | ( | swappable_block_identifier_type | sbid | ) | [inline, virtual] |
Implements stxxl::block_scheduler_algorithm< SwappableBlockType >.
Definition at line 683 of file block_scheduler.h.
virtual bool stxxl::block_scheduler_algorithm_online_lru< SwappableBlockType >::evictable_blocks_empty | ( | ) | [inline, virtual] |
Implements stxxl::block_scheduler_algorithm< SwappableBlockType >.
Definition at line 623 of file block_scheduler.h.
virtual swappable_block_identifier_type stxxl::block_scheduler_algorithm_online_lru< SwappableBlockType >::evictable_blocks_pop | ( | ) | [inline, virtual] |
Implements stxxl::block_scheduler_algorithm< SwappableBlockType >.
Definition at line 626 of file block_scheduler.h.
virtual external_block_type stxxl::block_scheduler_algorithm_online_lru< SwappableBlockType >::extract_external_block | ( | swappable_block_identifier_type | sbid | ) | [inline, virtual] |
Implements stxxl::block_scheduler_algorithm< SwappableBlockType >.
Definition at line 698 of file block_scheduler.h.
internal_block_type* stxxl::block_scheduler_algorithm_online_lru< SwappableBlockType >::get_free_internal_block | ( | ) | [inline, protected] |
Definition at line 582 of file block_scheduler.h.
void stxxl::block_scheduler_algorithm_online_lru< SwappableBlockType >::init | ( | ) | [inline, protected] |
Definition at line 595 of file block_scheduler.h.
virtual void stxxl::block_scheduler_algorithm_online_lru< SwappableBlockType >::initialize | ( | swappable_block_identifier_type | sbid, |
external_block_type | eblock | ||
) | [inline, virtual] |
Implements stxxl::block_scheduler_algorithm< SwappableBlockType >.
Definition at line 692 of file block_scheduler.h.
virtual void stxxl::block_scheduler_algorithm_online_lru< SwappableBlockType >::release | ( | swappable_block_identifier_type | sbid, |
const bool | dirty | ||
) | [inline, virtual] |
Implements stxxl::block_scheduler_algorithm< SwappableBlockType >.
Definition at line 667 of file block_scheduler.h.
Referenced by stxxl::block_scheduler_algorithm_offline_lfd< SwappableBlockType >::release().
void stxxl::block_scheduler_algorithm_online_lru< SwappableBlockType >::return_free_internal_block | ( | internal_block_type * | iblock | ) | [inline, protected] |
Definition at line 592 of file block_scheduler.h.
addressable_fifo_queue<swappable_block_identifier_type> stxxl::block_scheduler_algorithm_online_lru< SwappableBlockType >::evictable_blocks [protected] |
Holds swappable blocks, whose internal block can be freed, i.e. that are internal but unacquired.
Definition at line 580 of file block_scheduler.h.