B2BITS FIX Antenna HFT
1.0.16
|
#include <TimeUtils.h>
Public Member Functions | |
void | _calibrate () |
void | _recalibrate (bool forceToGoBackward=false) |
int64_t | calcDiff () |
int64_t | calcDiff1 () |
int64_t | getDelta () |
void | init () |
NanosTimeConvertRecalib () | |
System::Time::AbsoluteSystemTimeUsec1970 | nanosToAbsoluteSystemTimeUsec1970 (uint64_t nanos) |
void | recalibrate () |
Public Attributes | |
spinlock | init_lock_ |
volatile int | inited_ |
volatile int64_t | nanosToUsecDelta2_ |
volatile int64_t | nanosToUsecDelta_ |
|
inline |
|
inline |
References calcDiff(), nanosToUsecDelta2_, and nanosToUsecDelta_.
Referenced by init().
|
inline |
References BARRIER, calcDiff(), nanosToUsecDelta2_, and nanosToUsecDelta_.
Referenced by recalibrate().
|
inline |
References calcDiff1().
Referenced by _calibrate(), and _recalibrate().
|
inline |
References System::Time::currentTimeUsec1970(), and get_nanosec().
Referenced by calcDiff().
|
inline |
References BARRIER, nanosToUsecDelta2_, and nanosToUsecDelta_.
Referenced by NanosTimeConvertStatic::init(), and nanosToAbsoluteSystemTimeUsec1970().
|
inline |
References _calibrate(), init_lock_, and inited_.
Referenced by NanosTimeConvertStatic::init(), and recalibrate().
|
inline |
References getDelta().
|
inline |
References _recalibrate(), init(), and inited_.
volatile int NanosTimeConvertRecalib::inited_ |
Referenced by init(), and recalibrate().
volatile int64_t NanosTimeConvertRecalib::nanosToUsecDelta2_ |
Referenced by _calibrate(), _recalibrate(), and getDelta().
volatile int64_t NanosTimeConvertRecalib::nanosToUsecDelta_ |
Referenced by _calibrate(), _recalibrate(), and getDelta().