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.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/socket_base.hpp b/src/socket_base.hpp
index 0f7dca8..54a5f0a 100644
--- a/src/socket_base.hpp
+++ b/src/socket_base.hpp
@@ -133,6 +133,9 @@ namespace xs
// Delay actual destruction of the socket.
void process_destroy ();
+ // Measure time in efficient manner.
+ uint64_t now_ms ();
+
private:
// Initialise the object. This function is separate from constructor