diff options
| author | Aniroop Mathur <[email protected]> | 2016-12-27 13:22:42 -0800 |
|---|---|---|
| committer | Dmitry Torokhov <[email protected]> | 2016-12-27 13:36:50 -0800 |
| commit | f63bb4f442d6c7929e58d671d1f46e122c441884 (patch) | |
| tree | edf49e69fb0e9f97772b6e9de3b63fcc188bb0dc /tools/perf/scripts/python/netdev-times.py | |
| parent | 1a9027770f3d93b78f7031af79597f9659db5d70 (diff) | |
Input: bma150 - switch to using usleep_range instead of msleep
msleep (1~20) may not do what the caller intends, and will often sleep
longer. (~20 ms actual sleep for any value given in the 1~20ms range) This
is not the desired behaviour for many cases like device resume time, device
suspend time, device enable time, etc. Thus, change msleep to usleep_range
for precise wakeups.
Signed-off-by: Aniroop Mathur <[email protected]>
Acked by: Albert Zhang <[email protected]>
Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions