diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2012-04-19 20:17:47 +0200 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2012-04-20 06:59:47 +0200 |
commit | ce2b29af43b4624e053377ef00c5a7e2b80c08b7 (patch) | |
tree | af6bfc20de9fd2c9752dc1924a2db45b040133b6 /src/surveyor.hpp | |
parent | 18a61b7cd60399944972482fabab4d7e81ffddae (diff) |
Clock instance removed from surveyor_t
SURVEYOR socket now uses clock instance from socket_base_t
for measuring survey timeout. This allows for better performance
in tight xs_recv() loops.
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'src/surveyor.hpp')
-rw-r--r-- | src/surveyor.hpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/surveyor.hpp b/src/surveyor.hpp index a77af49..e79dab0 100644 --- a/src/surveyor.hpp +++ b/src/surveyor.hpp @@ -23,7 +23,6 @@ #include "xsurveyor.hpp" #include "stdint.hpp" -#include "clock.hpp" namespace xs { @@ -58,9 +57,6 @@ namespace xs // The time instant when the current survey expires. uint64_t timeout; - // Provides a way to measure time quickly. - clock_t clock; - surveyor_t (const surveyor_t&); const surveyor_t &operator = (const surveyor_t&); }; |