aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorYoni Divinsky <[email protected]>2012-06-27 21:35:47 +0300
committerJohn W. Linville <[email protected]>2012-07-10 12:10:14 -0400
commitc45ee4ff1f66b2a02f51b8a2c1c3dcfd7faefab0 (patch)
tree87b18f4d2ddccfac15211ffff354f413c1f815bf /tools/perf/scripts/python/net_dropmonitor.py
parentc24ec83bcac50160c344b3eb0e4c601b6cb4f7e5 (diff)
wlcore: change the wait for event mechanism
wlcore needs to wait for certain events for example for roc complete event. Usually the events are received from the FW very fast, therefore wlcore can poll with a short delay and if after a second the event was not received yet poll with a long (1-5 msec) delay. This implementation is similar to the sending of commands to the FW. Empirically the change reduced the wait for roc event from ~10-40msec to 100s of usecs. [replace udelay/msleep with usleep_range - Arik] Signed-off-by: Yoni Divinsky <[email protected]> Signed-off-by: Arik Nemtsov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions