diff options
author | Daniel Lezcano <[email protected]> | 2020-12-16 23:03:35 +0100 |
---|---|---|
committer | Daniel Lezcano <[email protected]> | 2021-01-19 22:23:38 +0100 |
commit | 17d399cd9c8936909bc8936a5837b6da9af9c29e (patch) | |
tree | 6c7da345cc161493bc761054d62fca317a76050b /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | 2121496fdc5f2d93eda9743c4b487469f0042e3c (diff) |
thermal/core: Precompute the delays from msecs to jiffies
The delays are stored in ms units and when the polling function is
called this delay is converted into jiffies at each call.
Instead of doing the conversion again and again, compute the jiffies
at init time and use the value directly when setting the polling.
Cc: Thara Gopinath <[email protected]>
Signed-off-by: Daniel Lezcano <[email protected]>
Reviewed-by: Lukasz Luba <[email protected]>
Reviewed-by: Thara Gopinath <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions