Skip to content

Commit

Permalink
Merge pull request #221 from Igalia/busywait
Browse files Browse the repository at this point in the history
Enable busy-waiting by default in the lwaftr
  • Loading branch information
wingo committed Feb 5, 2016
2 parents d12e521 + 5aaa5f3 commit 24c7c24
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/program/lwaftr/bench/bench.lua
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,6 @@ function run(args)
csv:add_app('sinkv6', { 'input' }, { input='Encapsulation' })
csv:activate()

app.busywait = true
app.main({duration=opts.duration})
end
1 change: 1 addition & 0 deletions src/program/lwaftr/run/run.lua
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ function run(args)
csv:activate()
end

engine.busywait = true
if opts.duration then
engine.main({duration=opts.duration, report={showlinks=true}})
else
Expand Down
1 change: 1 addition & 0 deletions src/program/lwaftr/transient/transient.lua
Original file line number Diff line number Diff line change
Expand Up @@ -129,5 +129,6 @@ function run(args)
{ rx=stream.name..' TX', tx=stream.name..' RX' })
end
csv:activate()
engine.busywait = true
engine.main({duration=opts.duration*((opts.bitrate/opts.step)*2+1)})
end

0 comments on commit 24c7c24

Please sign in to comment.