Stxxl
1.4.0
|
Interface of a block scheduling algorithm. More...
#include <block_scheduler.h>
Interface of a block scheduling algorithm.
Definition at line 501 of file block_scheduler.h.
typedef block_scheduler<SwappableBlockType> stxxl::block_scheduler_algorithm< SwappableBlockType >::block_scheduler_type [protected] |
Reimplemented in stxxl::block_scheduler_algorithm_offline_lru_prefetching< SwappableBlockType >, stxxl::block_scheduler_algorithm_offline_lfd< SwappableBlockType >, stxxl::block_scheduler_algorithm_simulation< SwappableBlockType >, and stxxl::block_scheduler_algorithm_online_lru< SwappableBlockType >.
Definition at line 504 of file block_scheduler.h.
typedef block_scheduler_type::external_block_type stxxl::block_scheduler_algorithm< SwappableBlockType >::external_block_type [protected] |
Reimplemented in stxxl::block_scheduler_algorithm_offline_lru_prefetching< SwappableBlockType >, stxxl::block_scheduler_algorithm_offline_lfd< SwappableBlockType >, stxxl::block_scheduler_algorithm_simulation< SwappableBlockType >, and stxxl::block_scheduler_algorithm_online_lru< SwappableBlockType >.
Definition at line 506 of file block_scheduler.h.
typedef block_scheduler_type::internal_block_type stxxl::block_scheduler_algorithm< SwappableBlockType >::internal_block_type [protected] |
Reimplemented in stxxl::block_scheduler_algorithm_offline_lru_prefetching< SwappableBlockType >, stxxl::block_scheduler_algorithm_offline_lfd< SwappableBlockType >, stxxl::block_scheduler_algorithm_simulation< SwappableBlockType >, and stxxl::block_scheduler_algorithm_online_lru< SwappableBlockType >.
Definition at line 505 of file block_scheduler.h.
typedef block_scheduler_type::prediction_sequence_type stxxl::block_scheduler_algorithm< SwappableBlockType >::prediction_sequence_type [protected] |
Reimplemented in stxxl::block_scheduler_algorithm_offline_lru_prefetching< SwappableBlockType >, and stxxl::block_scheduler_algorithm_offline_lfd< SwappableBlockType >.
Definition at line 508 of file block_scheduler.h.
typedef block_scheduler_type::swappable_block_identifier_type stxxl::block_scheduler_algorithm< SwappableBlockType >::swappable_block_identifier_type [protected] |
Reimplemented in stxxl::block_scheduler_algorithm_offline_lru_prefetching< SwappableBlockType >, stxxl::block_scheduler_algorithm_offline_lfd< SwappableBlockType >, stxxl::block_scheduler_algorithm_simulation< SwappableBlockType >, and stxxl::block_scheduler_algorithm_online_lru< SwappableBlockType >.
Definition at line 507 of file block_scheduler.h.
typedef block_scheduler_type::time_type stxxl::block_scheduler_algorithm< SwappableBlockType >::time_type [protected] |
stxxl::block_scheduler_algorithm< SwappableBlockType >::block_scheduler_algorithm | ( | block_scheduler_type & | bs | ) | [inline] |
Definition at line 530 of file block_scheduler.h.
stxxl::block_scheduler_algorithm< SwappableBlockType >::block_scheduler_algorithm | ( | block_scheduler_algorithm< SwappableBlockType > * | old | ) | [inline] |
Definition at line 535 of file block_scheduler.h.
virtual stxxl::block_scheduler_algorithm< SwappableBlockType >::~block_scheduler_algorithm | ( | ) | [inline, virtual] |
Definition at line 540 of file block_scheduler.h.
virtual internal_block_type& stxxl::block_scheduler_algorithm< SwappableBlockType >::acquire | ( | const swappable_block_identifier_type | sbid, |
const bool | uninitialized = false |
||
) | [pure virtual] |
Implemented in stxxl::block_scheduler_algorithm_offline_lru_prefetching< SwappableBlockType >, stxxl::block_scheduler_algorithm_offline_lfd< SwappableBlockType >, stxxl::block_scheduler_algorithm_simulation< SwappableBlockType >, and stxxl::block_scheduler_algorithm_online_lru< SwappableBlockType >.
virtual void stxxl::block_scheduler_algorithm< SwappableBlockType >::deinitialize | ( | swappable_block_identifier_type | sbid | ) | [pure virtual] |
Implemented in stxxl::block_scheduler_algorithm_offline_lru_prefetching< SwappableBlockType >, stxxl::block_scheduler_algorithm_offline_lfd< SwappableBlockType >, stxxl::block_scheduler_algorithm_simulation< SwappableBlockType >, and stxxl::block_scheduler_algorithm_online_lru< SwappableBlockType >.
virtual bool stxxl::block_scheduler_algorithm< SwappableBlockType >::evictable_blocks_empty | ( | ) | [pure virtual] |
Implemented in stxxl::block_scheduler_algorithm_offline_lru_prefetching< SwappableBlockType >, stxxl::block_scheduler_algorithm_offline_lfd< SwappableBlockType >, stxxl::block_scheduler_algorithm_simulation< SwappableBlockType >, and stxxl::block_scheduler_algorithm_online_lru< SwappableBlockType >.
virtual swappable_block_identifier_type stxxl::block_scheduler_algorithm< SwappableBlockType >::evictable_blocks_pop | ( | ) | [pure virtual] |
Implemented in stxxl::block_scheduler_algorithm_offline_lru_prefetching< SwappableBlockType >, stxxl::block_scheduler_algorithm_offline_lfd< SwappableBlockType >, stxxl::block_scheduler_algorithm_simulation< SwappableBlockType >, and stxxl::block_scheduler_algorithm_online_lru< SwappableBlockType >.
virtual void stxxl::block_scheduler_algorithm< SwappableBlockType >::explicit_timestep | ( | ) | [inline, virtual] |
Reimplemented in stxxl::block_scheduler_algorithm_simulation< SwappableBlockType >.
Definition at line 555 of file block_scheduler.h.
virtual external_block_type stxxl::block_scheduler_algorithm< SwappableBlockType >::extract_external_block | ( | swappable_block_identifier_type | sbid | ) | [pure virtual] |
Implemented in stxxl::block_scheduler_algorithm_offline_lru_prefetching< SwappableBlockType >, stxxl::block_scheduler_algorithm_offline_lfd< SwappableBlockType >, stxxl::block_scheduler_algorithm_simulation< SwappableBlockType >, and stxxl::block_scheduler_algorithm_online_lru< SwappableBlockType >.
block_scheduler_algorithm* stxxl::block_scheduler_algorithm< SwappableBlockType >::get_algorithm_from_block_scheduler | ( | ) | [inline, protected] |
Definition at line 517 of file block_scheduler.h.
internal_block_type* stxxl::block_scheduler_algorithm< SwappableBlockType >::get_free_internal_block_from_block_scheduler | ( | ) | [inline, protected] |
Get an internal_block from the block_scheduler.
Definition at line 522 of file block_scheduler.h.
virtual const prediction_sequence_type& stxxl::block_scheduler_algorithm< SwappableBlockType >::get_prediction_sequence | ( | ) | const [inline, virtual] |
Definition at line 558 of file block_scheduler.h.
Referenced by stxxl::block_scheduler< SwappableBlockType >::get_prediction_sequence(), stxxl::block_scheduler_algorithm_offline_lfd< SwappableBlockType >::init(), and stxxl::block_scheduler_algorithm_offline_lru_prefetching< SwappableBlockType >::init().
virtual void stxxl::block_scheduler_algorithm< SwappableBlockType >::initialize | ( | swappable_block_identifier_type | sbid, |
external_block_type | eblock | ||
) | [pure virtual] |
Implemented in stxxl::block_scheduler_algorithm_offline_lru_prefetching< SwappableBlockType >, stxxl::block_scheduler_algorithm_offline_lfd< SwappableBlockType >, stxxl::block_scheduler_algorithm_simulation< SwappableBlockType >, and stxxl::block_scheduler_algorithm_online_lru< SwappableBlockType >.
virtual bool stxxl::block_scheduler_algorithm< SwappableBlockType >::is_initialized | ( | const swappable_block_identifier_type | sbid | ) | const [inline, virtual] |
Reimplemented in stxxl::block_scheduler_algorithm_simulation< SwappableBlockType >.
Definition at line 552 of file block_scheduler.h.
virtual bool stxxl::block_scheduler_algorithm< SwappableBlockType >::is_simulating | ( | ) | const [inline, virtual] |
Reimplemented in stxxl::block_scheduler_algorithm_simulation< SwappableBlockType >.
Definition at line 556 of file block_scheduler.h.
virtual void stxxl::block_scheduler_algorithm< SwappableBlockType >::release | ( | swappable_block_identifier_type | sbid, |
const bool | dirty | ||
) | [pure virtual] |
Implemented in stxxl::block_scheduler_algorithm_offline_lru_prefetching< SwappableBlockType >, stxxl::block_scheduler_algorithm_offline_lfd< SwappableBlockType >, stxxl::block_scheduler_algorithm_simulation< SwappableBlockType >, and stxxl::block_scheduler_algorithm_online_lru< SwappableBlockType >.
Referenced by stxxl::block_scheduler_algorithm_offline_lfd< SwappableBlockType >::release().
void stxxl::block_scheduler_algorithm< SwappableBlockType >::return_free_internal_block_to_block_scheduler | ( | internal_block_type * | iblock | ) | [inline, protected] |
Return an internal_block to the block_scheduler.
Definition at line 526 of file block_scheduler.h.
virtual void stxxl::block_scheduler_algorithm< SwappableBlockType >::swappable_blocks_resize | ( | swappable_block_identifier_type | ) | [inline, virtual] |
Reimplemented in stxxl::block_scheduler_algorithm_simulation< SwappableBlockType >.
Definition at line 544 of file block_scheduler.h.
block_scheduler_type& stxxl::block_scheduler_algorithm< SwappableBlockType >::bs |
Definition at line 512 of file block_scheduler.h.
Referenced by stxxl::block_scheduler< SwappableBlockType >::switch_algorithm_to().
prediction_sequence_type stxxl::block_scheduler_algorithm< SwappableBlockType >::prediction_sequence [protected] |
Definition at line 515 of file block_scheduler.h.
std::vector<SwappableBlockType>& stxxl::block_scheduler_algorithm< SwappableBlockType >::swappable_blocks [protected] |
Definition at line 514 of file block_scheduler.h.