- 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

View File

@@ -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;
}; };