aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorMatti Vaittinen <[email protected]>2024-02-12 13:20:09 +0200
committerJonathan Cameron <[email protected]>2024-02-19 19:32:12 +0000
commitbb76cc45dcdfcd962a5994b8fe19ab74fc6c3c3a (patch)
tree78c1ccdeccf75148407c85689ae594e7512a71be /tools/perf/scripts/python/export-to-sqlite.py
parent3ad0e7e5f0cb4d1cb1f1fb687d10e45cabf1928c (diff)
iio: gts-helper: Fix division loop
The loop based 64bit division may run for a long time when dividend is a lot bigger than the divider. Replace the division loop by the div64_u64() which implementation may be significantly faster. Tested-by: Subhajit Ghosh <[email protected]> Signed-off-by: Matti Vaittinen <[email protected]> Fixes: 38416c28e168 ("iio: light: Add gain-time-scale helpers") Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions