summaryrefslogtreecommitdiff
path: root/perf/remote_lat.cpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2010-06-17 16:51:53 +0200
committerMartin Sustrik <sustrik@250bpm.com>2010-06-17 16:51:53 +0200
commit7f01e9970d211235fc8057de6dc41ba8ceafe795 (patch)
tree600dc003c73e15ef965cc97a1abb99d6dfc0a260 /perf/remote_lat.cpp
parent4777fe4010572d381a2ad8eb63df2fc5fb7e6642 (diff)
stopwatch returned to libzmq
Diffstat (limited to 'perf/remote_lat.cpp')
-rw-r--r--perf/remote_lat.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/perf/remote_lat.cpp b/perf/remote_lat.cpp
index cd465f7..37535e6 100644
--- a/perf/remote_lat.cpp
+++ b/perf/remote_lat.cpp
@@ -18,10 +18,10 @@
*/
#include "../include/zmq.h"
+#include "../include/zmq_utils.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include "helpers.h"
int main (int argc, char *argv [])
{
@@ -71,7 +71,7 @@ int main (int argc, char *argv [])
}
memset (zmq_msg_data (&msg), 0, message_size);
- watch = stopwatch_start ();
+ watch = zmq_stopwatch_start ();
for (i = 0; i != roundtrip_count; i++) {
rc = zmq_send (s, &msg, 0);
@@ -90,7 +90,7 @@ int main (int argc, char *argv [])
}
}
- elapsed = stopwatch_stop (watch);
+ elapsed = zmq_stopwatch_stop (watch);
rc = zmq_msg_close (&msg);
if (rc != 0) {