19 HLC(uint64_t _r, uint64_t _l);
25 virtual
void tick(
bool thread_safe = true)
noexcept(false);
26 virtual
void tick(const
HLC& msgHlc,
bool thread_safe = true)
noexcept(false);
29 virtual
bool operator>(const
HLC& hlc) const
noexcept(true);
30 virtual
bool operator<(const
HLC& hlc) const
noexcept(true);
31 virtual
bool operator==(const
HLC& hlc) const
noexcept(true);
32 virtual
bool operator>=(const
HLC& hlc) const
noexcept(true);
33 virtual
bool operator<=(const
HLC& hlc) const
noexcept(true);
36 virtual
void operator=(const
HLC& hlc)
noexcept(true);
39 #define HLC_EXP(errcode, usercode) \ 40 ((((errcode)&0xffffffffull) << 32) | ((usercode)&0xffffffffull)) 41 #define HLC_EXP_USERCODE(x) ((uint32_t)((x)&0xffffffffull)) 42 #define HLC_EXP_READ_RTC(x) HLC_EXP(0, (x)) 43 #define HLC_EXP_SPIN_INIT(x) HLC_EXP(1, (x)) 44 #define HLC_EXP_SPIN_DESTROY(x) HLC_EXP(2, (x)) 45 #define HLC_EXP_SPIN_LOCK(x) HLC_EXP(3, (x)) 46 #define HLC_EXP_SPIN_UNLOCK(x) HLC_EXP(4, (x)) pthread_spinlock_t m_oLck
HLC(uint64_t _r, uint64_t _l)
virtual void tick(bool thread_safe=true) noexcept(false)
uint64_t read_rtc_us() noexcept(false)