SwatDB
Loading...
Searching...
No Matches
Public Attributes | List of all members
BufferState::ReplacementStats Struct Reference

Public Attributes

RepType rep_type
 
std::uint64_t rep_calls
 
std::uint64_t new_page_calls
 
double avg_frames_checked
 
std::uint32_t ref_bit
 
std::uint32_t clock_hand
 

Member Data Documentation

◆ avg_frames_checked

double BufferState::ReplacementStats::avg_frames_checked

Running average of the number of frames checked in replacement policy before a frame eligible for replacement is found.

◆ clock_hand

std::uint32_t BufferState::ReplacementStats::clock_hand

The current position of the clock hand.

◆ new_page_calls

std::uint64_t BufferState::ReplacementStats::new_page_calls

The number of times getPage or allocatePage have been called.

◆ ref_bit

std::uint32_t BufferState::ReplacementStats::ref_bit

The number of pages that have ref_bit set in the buffer pool.

◆ rep_calls

std::uint64_t BufferState::ReplacementStats::rep_calls

The number of times the replacement policy has been called.

◆ rep_type

RepType BufferState::ReplacementStats::rep_type

Which Replacement Policy has been called


The documentation for this struct was generated from the following file: