summaryrefslogtreecommitdiff
path: root/perf/cpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@jozsi.(none)>2009-09-07 11:01:42 +0200
committerMartin Sustrik <sustrik@jozsi.(none)>2009-09-07 11:01:42 +0200
commitd62c74232a4c1edd38004933afd0c7dc119bd98b (patch)
tree72881bf447ea1d29459b2cd32819dfd951a78797 /perf/cpp
parent11a6cb925f7ff3d17f48edccc886839b4d49ef0b (diff)
parent63b56d7fb38624c32111f9188d54b6fefb10a0e5 (diff)
Merge branch 'master' of git://github.com/sustrik/zeromq2
Diffstat (limited to 'perf/cpp')
-rw-r--r--perf/cpp/local_lat.cpp8
-rw-r--r--perf/cpp/local_thr.cpp8
-rw-r--r--perf/cpp/remote_lat.cpp8
-rw-r--r--perf/cpp/remote_thr.cpp8
4 files changed, 16 insertions, 16 deletions
diff --git a/perf/cpp/local_lat.cpp b/perf/cpp/local_lat.cpp
index 9260f0a..343ca74 100644
--- a/perf/cpp/local_lat.cpp
+++ b/perf/cpp/local_lat.cpp
@@ -27,13 +27,13 @@
int main (int argc, char *argv [])
{
if (argc != 4) {
- printf ("usage: local_lat <bind-to> <roundtrip-count> "
- "<message-size>\n");
+ printf ("usage: local_lat <bind-to> <message-size> "
+ "<roundtrip-count>\n");
return 1;
}
const char *bind_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);
diff --git a/perf/cpp/local_thr.cpp b/perf/cpp/local_thr.cpp
index 3e961de..ca81ba9 100644
--- a/perf/cpp/local_thr.cpp
+++ b/perf/cpp/local_thr.cpp
@@ -28,13 +28,13 @@
int main (int argc, char *argv [])
{
if (argc != 4) {
- printf ("usage: local_thr <bind-to> <message-count> "
- "<message-size>\n");
+ printf ("usage: local_thr <bind-to> <message-size> "
+ "<message-count>\n");
return 1;
}
const char *bind_to = argv [1];
- int message_count = atoi (argv [2]);
- size_t message_size = (size_t) atoi (argv [3]);
+ size_t message_size = (size_t) atoi (argv [2]);
+ int message_count = atoi (argv [3]);
zmq::context_t ctx (1, 1);
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);
diff --git a/perf/cpp/remote_thr.cpp b/perf/cpp/remote_thr.cpp
index 06946f5..5474c6a 100644
--- a/perf/cpp/remote_thr.cpp
+++ b/perf/cpp/remote_thr.cpp
@@ -27,13 +27,13 @@
int main (int argc, char *argv [])
{
if (argc != 4) {
- printf ("usage: remote_thr <connect-to> <message-count> "
- "<message-size>\n");
+ printf ("usage: remote_thr <connect-to> <message-size> "
+ "<message-count>\n");
return 1;
}
const char *connect_to = argv [1];
- int message_count = atoi (argv [2]);
- size_t message_size = (size_t) atoi (argv [3]);
+ size_t message_size = (size_t) atoi (argv [2]);
+ int message_count = atoi (argv [3]);
zmq::context_t ctx (1, 1);