commit | 0646b3ce751bc485a466cda1580eaee786bead87 | [log] [tgz] |
---|---|---|
author | Pau Espin Pedrol <pespin@sysmocom.de> | Wed Dec 12 15:58:24 2018 +0100 |
committer | Harald Welte <laforge@gnumonks.org> | Thu Dec 13 13:58:24 2018 +0000 |
tree | 66681a0ec1fee9a9c564ed52811683758210d0d1 | |
parent | 46cf9efc8ee0b006750f90023079bc02ebc17bc1 [diff] |
Timeval: Move implementation to use clock_gettime and timespec According to gettimeofday manual: "Applications should use the clock_gettime() function instead of the obsolescent gettimeofday() function." Furthermore, it may be desirable in the future to use other clocks such as monotonic. Change-Id: I2286998c5eefbf3c3dfb105c223daec7a1083803