CPU formula component giving CPU energy of a given process in computing the ratio between global CPU energy and process CPU usage during a given period.
Main configuration.
CPU sensor component that collects data from a /proc and /sys directories which are typically presents under a Linux platform.
CPU sensor component that collects data from a /proc and /sys directories which are typically presents under a Linux platform.
http://www.kernel.org/doc/man-pages/online/pages/man5/proc.5.html
CPU formula component giving CPU energy of a given process in computing the ratio between global CPU energy and process CPU usage during a given period.
Global CPU energy is given thanks to the well-known global formula: P = c * f * V² [1]. This formula operates for an unique frequency/variable but many frequencies can be used by CPU during a time period (e.g using DVFS [2]). Thus, this implementation weights each frequency by the time spent by CPU in working under it.
[2] http://en.wikipedia.org/wiki/Voltage_and_frequency_scaling.
[1] "Frequency–Voltage Cooperative CPU Power Control: A Design Rule and Its Application by Feedback Prediction" by Toyama & al.