summaryrefslogtreecommitdiff
path: root/perf/python/local_lat.py
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/python/local_lat.py
parent11a6cb925f7ff3d17f48edccc886839b4d49ef0b (diff)
parent63b56d7fb38624c32111f9188d54b6fefb10a0e5 (diff)
Merge branch 'master' of git://github.com/sustrik/zeromq2
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)