diff options
| author | Rajkumar Manoharan <[email protected]> | 2015-01-13 14:52:14 +0530 |
|---|---|---|
| committer | Kalle Valo <[email protected]> | 2015-01-15 12:33:42 +0200 |
| commit | 8bdadac13f65c14d7b6df711793eb31ba9db296e (patch) | |
| tree | cebd3a96f033bde25f6d62621517dfd317b9349f /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | fbb8f1b729b82f2b48350ffc096f107d1a6ea12d (diff) | |
ath10k: fix duration calculation for quiet param
The duty cycle (% of quiet duration) is used to put the device
in quiet mode for the given period. Currently the quiet duration
is wrongly calculated which results in not enabling quiet mode.
Fix the calculation as below
duration = (period * duty cycle) / 100
Signed-off-by: Rajkumar Manoharan <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions