summaryrefslogtreecommitdiff
path: root/perf/ruby/local_lat.rb
diff options
context:
space:
mode:
Diffstat (limited to 'perf/ruby/local_lat.rb')
-rw-r--r--perf/ruby/local_lat.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/perf/ruby/local_lat.rb b/perf/ruby/local_lat.rb
index a299630..b27e8bc 100644
--- a/perf/ruby/local_lat.rb
+++ b/perf/ruby/local_lat.rb
@@ -27,8 +27,8 @@ bind_to = ARGV[0]
message_size = ARGV[1].to_i
roundtrip_count = ARGV[2].to_i
-ctx = Context.new(1, 1, 0)
-s = Socket.new(ctx, REP);
+ctx = ZMQ::Context.new(1, 1, 0)
+s = ZMQ::Socket.new(ctx, ZMQ::REP);
s.bind(bind_to);
for i in 0...roundtrip_count do