SwatDB
|
#include <bufmgr.h>
Public Attributes | |
std::uint32_t | total |
std::uint32_t | valid |
std::uint32_t | pinned |
std::uint32_t | unpinned |
std::uint32_t | dirty |
std::uint32_t | ref_bit |
std::uint32_t | clock_hand |
THIS STRUCT IS FOR DEBUGGING ONLY. Struct that represents the state of the buffer pool.
std::uint32_t BufferState::clock_hand |
The current position of the clock hand.
std::uint32_t BufferState::dirty |
The number of dirty pages in the buffer pool.
std::uint32_t BufferState::pinned |
The number of pinned pages in the buffer pool.
std::uint32_t BufferState::ref_bit |
The number of pages that have ref_bit set in the buffer pool.
std::uint32_t BufferState::total |
The total number of pages in the buffer pool.
std::uint32_t BufferState::unpinned |
The number of unpinned pages in the buffer pool.
std::uint32_t BufferState::valid |
The number of valid pages in the buffer pool.