That sounds reasonable but why not use pure C++ instead of some parts with classes and some with the C standards?


On 31 March 2014 16:55, Arjan van de Ven <> wrote:
On 3/31/2014 8:54 AM, Bill Vyzas wrote:
What the physical things will be in the case of powertop? Are we talking about device drivers and cpu measurements?

powertop builds a power model of the devices in your computer, from fans to USB devices to CPU to ...
you name it.
to model those, it uses C++ style objects in a class hierarchy