summaryrefslogtreecommitdiff
path: root/perf/cpp/local_thr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'perf/cpp/local_thr.cpp')
-rw-r--r--perf/cpp/local_thr.cpp8
1 files changed, 4 insertions, 4 deletions
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);