- return NTP timestamp as uint64_t

This commit is contained in:
Dmytro Bogovych 2022-05-06 08:39:35 +03:00
parent 621afead4b
commit c3c59ddf03
1 changed files with 2 additions and 0 deletions

View File

@ -69,6 +69,8 @@ public:
/** Returns the least significant word. */
uint32_t GetLSW() const { return lsw; }
uint64_t Get64() const { return (uint64_t)msw << 32 | lsw; }
private:
uint32_t msw,lsw;
};