STXXL
1.4-dev
|
Pager with random replacement strategy.
Public Member Functions | |
random_pager (size_type num_pages=n_pages) | |
void | hit (size_type ipage) |
size_type | kick () |
size_type | size () const |
Private Types | |
enum | { n_pages = npages_ } |
typedef unsigned_type | size_type |
Private Attributes | |
size_type | num_pages |
random_number < random_uniform_fast > | rnd |
|
private |
|
private |
|
inline |
|
inline |
Definition at line 53 of file pager.h.
References STXXL_ASSERT.
|
inline |
|
inline |
|
private |
|
private |