SwatDB
Public Attributes | List of all members
BufferState Struct Reference

#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
 

Detailed Description

THIS STRUCT IS FOR DEBUGGING ONLY. Struct that represents the state of the buffer pool.

Member Data Documentation

◆ clock_hand

std::uint32_t BufferState::clock_hand

The current position of the clock hand.

◆ dirty

std::uint32_t BufferState::dirty

The number of dirty pages in the buffer pool.

◆ pinned

std::uint32_t BufferState::pinned

The number of pinned pages in the buffer pool.

◆ ref_bit

std::uint32_t BufferState::ref_bit

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

◆ total

std::uint32_t BufferState::total

The total number of pages in the buffer pool.

◆ unpinned

std::uint32_t BufferState::unpinned

The number of unpinned pages in the buffer pool.

◆ valid

std::uint32_t BufferState::valid

The number of valid pages in the buffer pool.


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