summaryrefslogtreecommitdiff
path: root/src/socket_base.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/socket_base.hpp')
-rw-r--r--src/socket_base.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/socket_base.hpp b/src/socket_base.hpp
index 9225ce7..0f7dca8 100644
--- a/src/socket_base.hpp
+++ b/src/socket_base.hpp
@@ -32,6 +32,7 @@
#include "atomic_counter.hpp"
#include "mailbox.hpp"
#include "stdint.hpp"
+#include "clock.hpp"
#include "pipe.hpp"
namespace xs
@@ -202,6 +203,9 @@ namespace xs
// True if the last message received had MORE flag set.
bool rcvmore;
+ // Improves efficiency of time measurement.
+ clock_t clock;
+
socket_base_t (const socket_base_t&);
const socket_base_t &operator = (const socket_base_t&);
};