MySQL  8.0.23
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< ulint > used
 Number of blocks allocated from the buddy system. More...
 
uint64_t relocated
 Number of blocks relocated by the buddy system. More...
 
uint64_t relocated_usec
 Total duration of block relocations, in microseconds. 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_usec

uint64_t buf_buddy_stat_t::relocated_usec

Total duration of block relocations, in microseconds.

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: