Skip to content

Commit

Permalink
Fix spead2_bench.py
Browse files Browse the repository at this point in the history
Missing arguments to function
  • Loading branch information
bmerry committed Oct 14, 2020
1 parent a7a105b commit 1bac205
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/spead2/tools/bench_asyncio.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ async def run_master(args, protocol, sender, receiver):
rate = (low + high) * 0.5
num_heaps = int(max(1e9, rate) / args.heap_size) + 2
good, actual_rate = await measure_connection(
args, sender, rate, num_heaps, num_heaps - 1)
args, protocol, sender, receiver, rate, num_heaps, num_heaps - 1)
if not args.quiet:
print("Rate: {:.3f} Gbps ({:.3f} actual): {}".format(
rate * 8e-9, actual_rate * 8e-9, "GOOD" if good else "BAD"))
Expand Down

0 comments on commit 1bac205

Please sign in to comment.