aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorSumit Gupta <sumitg@nvidia.com>2020-10-14 15:06:11 +0530
committerViresh Kumar <viresh.kumar@linaro.org>2020-12-07 13:02:37 +0530
commit68b9cd7270f0191bd51b635f8f4778951ee3811a (patch)
tree7eae5b3e7b406878fe2412544fab370b6855313f /tools/perf/scripts/python/export-to-sqlite.py
parent75118c8ef9d16ecbb56e37547061515c75bb91b4 (diff)
cpufreq: tegra194: get consistent cpuinfo_cur_freq
Frequency returned by 'cpuinfo_cur_freq' using counters is not fixed and keeps changing slightly. This change returns a consistent value from freq_table. If the reconstructed frequency has acceptable delta from the last written value, then return the frequency corresponding to the last written ndiv value from freq_table. Otherwise, print a warning and return the reconstructed freq. Signed-off-by: Sumit Gupta <sumitg@nvidia.com> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions