Thrill
0.1
|
Block scheduling algorithm caching via the least recently used policy (online).
Definition at line 253 of file block_scheduler.hpp.
#include <block_scheduler.hpp>
Protected Types | |
using | block_scheduler_algorithm_type = block_scheduler_algorithm< SwappableBlockType > |
using | block_scheduler_type = block_scheduler< SwappableBlockType > |
using | external_block_type = typename block_scheduler_type::external_block_type |
using | internal_block_type = typename block_scheduler_type::internal_block_type |
using | swappable_block_identifier_type = typename block_scheduler_type::swappable_block_identifier_type |
Protected Types inherited from block_scheduler_algorithm< SwappableBlockType > | |
using | block_scheduler_type = block_scheduler< SwappableBlockType > |
using | external_block_type = typename block_scheduler_type::external_block_type |
using | internal_block_type = typename block_scheduler_type::internal_block_type |
using | prediction_sequence_type = typename block_scheduler_type::prediction_sequence_type |
using | swappable_block_identifier_type = typename block_scheduler_type::swappable_block_identifier_type |
using | time_type = typename block_scheduler_type::time_type |
Protected Member Functions | |
internal_block_type * | get_free_internal_block () |
void | init () |
void | return_free_internal_block (internal_block_type *iblock) |
Protected Member Functions inherited from block_scheduler_algorithm< SwappableBlockType > | |
block_scheduler_algorithm * | get_algorithm_from_block_scheduler () |
internal_block_type * | get_free_internal_block_from_block_scheduler () |
void | return_free_internal_block_to_block_scheduler (internal_block_type *iblock) |
Return an internal_block to the block_scheduler. More... | |
Protected Attributes | |
addressable_fifo_queue< swappable_block_identifier_type > | evictable_blocks |
Holds swappable blocks, whose internal block can be freed, i.e. that are internal but unacquired. More... | |
Protected Attributes inherited from block_scheduler_algorithm< SwappableBlockType > | |
prediction_sequence_type | prediction_sequence |
std::vector< SwappableBlockType > & | swappable_blocks |
Additional Inherited Members | |
Public Attributes inherited from block_scheduler_algorithm< SwappableBlockType > | |
block_scheduler_type & | bs |
|
protected |
Definition at line 616 of file block_scheduler.hpp.
|
protected |
Definition at line 615 of file block_scheduler.hpp.
|
protected |
Definition at line 618 of file block_scheduler.hpp.
|
protected |
Definition at line 617 of file block_scheduler.hpp.
|
protected |
Definition at line 619 of file block_scheduler.hpp.
|
inlineexplicit |
Definition at line 651 of file block_scheduler.hpp.
|
inlineexplicit |
Definition at line 655 of file block_scheduler.hpp.
|
inlinevirtual |
Definition at line 659 of file block_scheduler.hpp.
References addressable_fifo_queue< KeyType >::empty(), addressable_fifo_queue< KeyType >::pop(), and TLX_LOG1.
|
inlinevirtual |
Implements block_scheduler_algorithm< SwappableBlockType >.
Definition at line 677 of file block_scheduler.hpp.
References addressable_fifo_queue< KeyType >::erase().
|
inlinevirtual |
Implements block_scheduler_algorithm< SwappableBlockType >.
Definition at line 731 of file block_scheduler.hpp.
References addressable_fifo_queue< KeyType >::erase().
|
inlinevirtual |
Implements block_scheduler_algorithm< SwappableBlockType >.
Definition at line 671 of file block_scheduler.hpp.
References addressable_fifo_queue< KeyType >::empty().
|
inlinevirtual |
Implements block_scheduler_algorithm< SwappableBlockType >.
Definition at line 674 of file block_scheduler.hpp.
References addressable_fifo_queue< KeyType >::pop().
|
inlinevirtual |
Implements block_scheduler_algorithm< SwappableBlockType >.
Definition at line 746 of file block_scheduler.hpp.
References addressable_fifo_queue< KeyType >::erase().
|
inlineprotected |
Definition at line 630 of file block_scheduler.hpp.
References addressable_fifo_queue< KeyType >::empty(), and addressable_fifo_queue< KeyType >::pop().
|
inlineprotected |
Definition at line 643 of file block_scheduler.hpp.
References addressable_fifo_queue< KeyType >::insert().
|
inlinevirtual |
Implements block_scheduler_algorithm< SwappableBlockType >.
Definition at line 740 of file block_scheduler.hpp.
|
inlinevirtual |
Implements block_scheduler_algorithm< SwappableBlockType >.
Definition at line 715 of file block_scheduler.hpp.
References addressable_fifo_queue< KeyType >::insert().
Referenced by block_scheduler_algorithm_offline_lfd< SwappableBlockType >::release().
|
inlineprotected |
Definition at line 640 of file block_scheduler.hpp.
|
protected |
Holds swappable blocks, whose internal block can be freed, i.e. that are internal but unacquired.
Definition at line 628 of file block_scheduler.hpp.