libfoedus-core
FOEDUS Core Library

Implements an RDTSC (Real-time time stamp counter) wait to emulate latency on slower devices. More...

Detailed Description

Implements an RDTSC (Real-time time stamp counter) wait to emulate latency on slower devices.

Definition in file rdtsc.hpp.

#include <stdint.h>
Include dependency graph for rdtsc.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::debugging
 Debug-Support functionalities.
 

Functions

uint64_t foedus::debugging::get_rdtsc ()
 Returns the current CPU cycle via x86 RDTSC. More...
 
void foedus::debugging::wait_rdtsc_cycles (uint64_t cycles)
 Wait until the given CPU cycles elapse. More...