summaryrefslogtreecommitdiff
path: root/perf/cpp/remote_lat.cpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@fastmq.commkdir>2009-09-04 16:02:41 +0200
committerMartin Sustrik <sustrik@fastmq.commkdir>2009-09-04 16:02:41 +0200
commit4307baf7bcc71ca91da0175e79cdfbf6cc1ad770 (patch)
treee4d5e5b663e6e98d21e9aa7f7ff180bbbbb71593 /perf/cpp/remote_lat.cpp
parent450b31c3b263ee6ceea27517a2a969d0c74bcd7e (diff)
python binding functional
Diffstat (limited to 'perf/cpp/remote_lat.cpp')
-rw-r--r--perf/cpp/remote_lat.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/perf/cpp/remote_lat.cpp b/perf/cpp/remote_lat.cpp
index 169ed1e..c3ded10 100644
--- a/perf/cpp/remote_lat.cpp
+++ b/perf/cpp/remote_lat.cpp
@@ -27,13 +27,13 @@
int main (int argc, char *argv [])
{
if (argc != 4) {
- printf ("usage: remote_lat <connect-to> <roundtrip-count> "
- "<message-size>\n");
+ printf ("usage: remote_lat <connect-to> <message-size> "
+ "<roundtrip-count>\n");
return 1;
}
const char *connect_to = argv [1];
- int roundtrip_count = atoi (argv [2]);
- size_t message_size = (size_t) atoi (argv [3]);
+ size_t message_size = (size_t) atoi (argv [2]);
+ int roundtrip_count = atoi (argv [3]);
zmq::context_t ctx (1, 1);