MySQL 8.0.30
Source Code Documentation
ut0cpu_cache.h File Reference

Utilities related to CPU cache. More...

#include "ut0ut.h"

Go to the source code of this file.

Classes

struct  ut::Cacheline_padded< T >
 A utility wrapper class, which adds padding at the end of the wrapped structure, so that the next object after it is guaranteed to be in the next cache line. More...
 
struct  ut::Cacheline_aligned< T >
 A utility wrapper class, which aligns T to cacheline boundary. More...
 

Namespaces

namespace  ut
 This file contains a set of libraries providing overloads for regular dynamic allocation routines which allow for opt-in memory instrumentation through performance schema memory engine (PFS).
 

Variables

constexpr size_t ut::INNODB_CACHE_LINE_SIZE = 64
 CPU cache line size. More...
 
constexpr size_t ut::INNODB_KERNEL_PAGE_SIZE_DEFAULT = 4 * 1024
 Default kernel page size (not assuming huge pages support). More...
 

Detailed Description

Utilities related to CPU cache.