diff options
author | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2005-11-12 10:59:41 +0000 |
---|---|---|
committer | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2005-11-12 10:59:41 +0000 |
commit | 0475d17e1ce34e6b2471d17a102b7c2a2d1427c7 (patch) | |
tree | 33e9d066a65da9025ecabd2f42f1612c1fd11e7d /interval.h | |
parent | f19f12c8b90bfefc716c6e359bc10ab1a53c74d8 (diff) | |
download | openvpn-0475d17e1ce34e6b2471d17a102b7c2a2d1427c7.tar.gz openvpn-0475d17e1ce34e6b2471d17a102b7c2a2d1427c7.tar.xz openvpn-0475d17e1ce34e6b2471d17a102b7c2a2d1427c7.zip |
Reduce sensitivity to system clock instability
and backtracks.
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@799 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'interval.h')
-rw-r--r-- | interval.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -213,13 +213,13 @@ static inline void usec_timer_start (struct usec_timer *obj) { CLEAR (*obj); - gettimeofday (&obj->start, NULL); + openvpn_gettimeofday (&obj->start, NULL); } static inline void usec_timer_end (struct usec_timer *obj) { - gettimeofday (&obj->end, NULL); + openvpn_gettimeofday (&obj->end, NULL); } #endif /* HAVE_GETTIMEOFDAY */ |