![]() |
MySQL 8.0.42
Source Code Documentation
|
Functions | |
static std::ostream & | operator<< (std::ostream &outs, const buf_io_fix io_fix) |
Helper iostream operator presenting the io_fix value as human-readable name of the enum. More... | |
std::ostream & | operator<< (std::ostream &outs, const buf_page_state &state) |
Helper ostream operator to print buf_page_state in human-readable name of the enum. More... | |
std::ostream & | operator<< (std::ostream &outs, const buf_flush_t &flush_type) |
Helper ostream operator to print buf_flush_t in human-readable name of the enum. More... | |
int64_t | time_elapsed (std::chrono::steady_clock::time_point access_time) |
Print the page's access_time as duration between first access and now, or 0.0 if never accessed. More... | |
Variables | |
const std::unordered_map< buf_io_fix, std::string_view > | buf_io_fix_str |
const std::unordered_map< buf_flush_t, std::string_view > | buf_flush_str |
std::ostream & anonymous_namespace{buf0buf.cc}::operator<< | ( | std::ostream & | outs, |
const buf_flush_t & | flush_type | ||
) |
Helper ostream operator to print buf_flush_t in human-readable name of the enum.
[in,out] | outs | the output stream |
[in] | flush_type | the flush_type to be printed |
|
static |
Helper iostream operator presenting the io_fix value as human-readable name of the enum.
Used in error messages of Buf_io_fix_latching_rules.
[in,out] | outs | the output stream to which to print |
[in] | io_fix | the value to be printed |
std::ostream & anonymous_namespace{buf0buf.cc}::operator<< | ( | std::ostream & | outs, |
const buf_page_state & | state | ||
) |
Helper ostream operator to print buf_page_state in human-readable name of the enum.
[in,out] | outs | the output stream |
[in] | state | the page state to be printed |
int64_t anonymous_namespace{buf0buf.cc}::time_elapsed | ( | std::chrono::steady_clock::time_point | access_time | ) |
Print the page's access_time as duration between first access and now, or 0.0 if never accessed.
[in] | access_time | the time_point when page was first accessed |
const std::unordered_map<buf_flush_t, std::string_view> anonymous_namespace{buf0buf.cc}::buf_flush_str |
const std::unordered_map<buf_io_fix, std::string_view> anonymous_namespace{buf0buf.cc}::buf_io_fix_str |