summaryrefslogtreecommitdiff
path: root/perf/python/local_lat.py
diff options
context:
space:
mode:
Diffstat (limited to 'perf/python/local_lat.py')
-rw-r--r--perf/python/local_lat.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/perf/python/local_lat.py b/perf/python/local_lat.py
index 7f1503f..e9d46e0 100644
--- a/perf/python/local_lat.py
+++ b/perf/python/local_lat.py
@@ -23,13 +23,13 @@ import libpyzmq
def main ():
if len (sys.argv) != 4:
- print 'usage: local_lat <bind-to> <roundtrip-count> <message-size>'
+ print 'usage: local_lat <bind-to> <message-size> <roundtrip-count>'
sys.exit (1)
try:
bind_to = sys.argv [1]
- roundtrip_count = int (sys.argv [2])
- message_size = int (sys.argv [3])
+ message_size = int (sys.argv [2])
+ roundtrip_count = int (sys.argv [3])
except (ValueError, OverflowError), e:
print 'message-size and roundtrip-count must be integers'
sys.exit (1)