libfoedus-core
FOEDUS Core Library

Constants and methods related to CPU cacheline and its prefetching. More...

Detailed Description

Constants and methods related to CPU cacheline and its prefetching.

Definition in file cacheline.hpp.

#include <stdint.h>
#include "foedus/compiler.hpp"
Include dependency graph for cacheline.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 foedus
 Root package of FOEDUS (Fast Optimistic Engine for Data Unification Services).
 
 foedus::assorted
 Assorted Methods/Classes that are too subtle to have their own packages.
 

Functions

void foedus::assorted::prefetch_cacheline (const void *address)
 Prefetch one cacheline to L1 cache. More...
 
void foedus::assorted::prefetch_cachelines (const void *address, int cacheline_count)
 Prefetch multiple contiguous cachelines to L1 cache. More...
 
void foedus::assorted::prefetch_l2 (const void *address, int cacheline_count)
 Prefetch multiple contiguous cachelines to L2/L3 cache. More...
 

Variables

const uint16_t foedus::assorted::kCachelineSize = 64
 Byte count of one cache line. More...