From ce2b29af43b4624e053377ef00c5a7e2b80c08b7 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Thu, 19 Apr 2012 20:17:47 +0200 Subject: 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 --- src/surveyor.hpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/surveyor.hpp') 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&); }; -- cgit v1.2.3