commit | 47031405f55d8c58b964a8c8b79aa169d309eb63 | [log] [tgz] |
---|---|---|
author | Pau Espin Pedrol <pespin@sysmocom.de> | Wed Dec 12 17:06:06 2018 +0100 |
committer | Harald Welte <laforge@gnumonks.org> | Thu Dec 13 13:58:24 2018 +0000 |
tree | 07dd7ba4b586a89a4729e4ba8ef87d320fcd6744 | |
parent | 0646b3ce751bc485a466cda1580eaee786bead87 [diff] [blame] |
Timeval: Move to osmo_clock_gettime Change-Id: I24da3e1136c5396062662be1d10b07b4d97cfc2e
diff --git a/CommonLibs/Timeval.h b/CommonLibs/Timeval.h index b780af1..7c6a6f6 100644 --- a/CommonLibs/Timeval.h +++ b/CommonLibs/Timeval.h
@@ -47,7 +47,7 @@ public: /** Set the value to current time. */ - void now() { clock_gettime(CLOCK_REALTIME, &mTimespec); } + void now(); /** Set the value to gettimeofday plus an offset. */ void future(unsigned ms);