]> arthur.barton.de Git - netdata.git/commit
cpufreq.chart.py: support dynamically falling back from accurate to inaccurate mode
authorSteven Noonan <steven@uplinklabs.net>
Tue, 10 Jan 2017 12:46:42 +0000 (04:46 -0800)
committerSteven Noonan <steven@uplinklabs.net>
Tue, 10 Jan 2017 12:53:37 +0000 (04:53 -0800)
commitc290b78e7ea07632c3350068c53a66c5392b8313
treec31f27adbef0e356b28f19e3eafdd2f673d622b2
parentdcd831f0cbcd8b0a6d83cc6276c68d5cf4fa5f0f
cpufreq.chart.py: support dynamically falling back from accurate to inaccurate mode

If we switch the 'schedutil' cpufreq governor on, the 'time_in_state'
data becomes useless. And since cpufreq governors can be switched at any
time, we might as well make it possible to support transitioning between
governors without any bogus data appearing in our charts.

Before this commit, switching to 'schedutil' results in zeroed values,
and switching back to any other governor causes a huge spike datapoint
in the timeline.

Signed-off-by: Steven Noonan <steven@uplinklabs.net>
python.d/cpufreq.chart.py