You are not logged in.

#1 2013-02-18 20:24:27

kdar
Member
From: Sweet home Alabama!
Registered: 2009-06-27
Posts: 356

Logging CPU frequency changes?

I know that kernel has necessary models to automatically scale CPU using ondemand governor.

However, is it possible to somehow log those changes in CPU frequency?

I need this for some power evaluation tests, where I would run some tasks while having CPU set to ondemand governor.
I have used cpufreqset to view CPU information and change governors and CPU frequencies.. But what can I use to monitol automatic change of frequency when CPU set to ondemand governor?

Last edited by kdar (2013-02-18 20:24:57)

Offline

#2 2013-02-18 20:48:55

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Logging CPU frequency changes?

Well, the frequency at any given moment is reflected in the appropriate /sys directory.  Maybe you could do something with that?

Maybe if you indicated more precisely what it is you are trying to do, this community could help you come up with a solution.  Do you just want to know what mode is going to be the most power friendly?

Offline

#3 2013-02-23 19:28:17

blackout23
Member
Registered: 2011-11-16
Posts: 781

Re: Logging CPU frequency changes?

KDE systemmonitor KSysGuard can do that. You can add pretty much anything that changes in your system to it and let it draw graphs or log into files. You can also set the update interval.

Offline

Board footer

Powered by FluxBB