- return NTP timestamp as uint64_t
This commit is contained in:
parent
621afead4b
commit
c3c59ddf03
|
|
@ -69,6 +69,8 @@ public:
|
||||||
|
|
||||||
/** Returns the least significant word. */
|
/** Returns the least significant word. */
|
||||||
uint32_t GetLSW() const { return lsw; }
|
uint32_t GetLSW() const { return lsw; }
|
||||||
|
|
||||||
|
uint64_t Get64() const { return (uint64_t)msw << 32 | lsw; }
|
||||||
private:
|
private:
|
||||||
uint32_t msw,lsw;
|
uint32_t msw,lsw;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue