Skip to content

Instantaneous vs. cummulative cpufreq stats #428

@iustin

Description

@iustin

Hi,

Looking around at issues such as #122 and #123, I see that in both cases, what is collected is the current (i.e. instantaneous) state of the CPUs, either hardware (cpufreq_* counters) or software (scaling_*_freq).

However, if compiled as such, the kernel does provide cummulative statistics via the stats/ subdirectory - see https://www.kernel.org/doc/html/latest/cpu-freq/cpufreq-stats.html.

I think the time_in_state is the most interesting, followed by total_trans. These would allow much better fidelity of historical CPU state.

Thoughts?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions