quill
Classes | Public Member Functions | List of all members
detail::RdtscClock Class Reference

Converts tsc ticks to nanoseconds since epoch. More...

#include <RdtscClock.h>

Classes

class  RdtscTicks
 A static class that calculates the rdtsc ticks per second. More...
 

Public Member Functions

 RdtscClock (std::chrono::nanoseconds resync_interval)
 
uint64_t time_since_epoch (uint64_t rdtsc_value) const noexcept
 
uint64_t time_since_epoch_safe (uint64_t rdtsc_value) const noexcept
 
bool resync (uint32_t lag) const noexcept
 
double nanoseconds_per_tick () const noexcept
 

Detailed Description

Converts tsc ticks to nanoseconds since epoch.


The documentation for this class was generated from the following file: