MySQL 9.0.0
Source Code Documentation
buf_buddy_stat_t Struct Reference

Statistics of buddy blocks of a given size. More...

#include <buf0buf.h>

Classes

struct  snapshot_t
 

Public Member Functions

snapshot_t take_snapshot ()
 

Public Attributes

std::atomic< ulintused
 Number of blocks allocated from the buddy system. More...
 
uint64_t relocated
 Number of blocks relocated by the buddy system. More...
 
std::chrono::steady_clock::duration relocated_duration
 Total duration of block relocations. More...
 

Detailed Description

Statistics of buddy blocks of a given size.

Member Function Documentation

◆ take_snapshot()

snapshot_t buf_buddy_stat_t::take_snapshot ( )
inline

Member Data Documentation

◆ relocated

uint64_t buf_buddy_stat_t::relocated

Number of blocks relocated by the buddy system.

Protected by buf_pool zip_free_mutex.

◆ relocated_duration

std::chrono::steady_clock::duration buf_buddy_stat_t::relocated_duration

Total duration of block relocations.

Protected by buf_pool zip_free_mutex.

◆ used

std::atomic<ulint> buf_buddy_stat_t::used

Number of blocks allocated from the buddy system.


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