Re: [Powertop] Why C++ is the language of implementation?
Bill Vyzas <vizasb at gmail.com>
| Newsgroups | dev.linux.lists.powertop |
|---|---|
| Message-ID | <CADy9ZNDipa6XbeZZdqJG_X9idw6u+cxTn8SaCoT8X04On2QX8w@mail.gmail.com> |
That sounds reasonable but why not use pure C++ instead of some parts with classes and some with the C standards? Thanks On 31 March 2014 16:55, Arjan van de Ven <arjan(a)linux.intel.com> 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 > >
attachment.html
(text/html, 1018 B)
<div dir="ltr"><div>That sounds reasonable but why not use pure C++ instead of some parts with classes and some with the C standards?<br><br></div>Thanks<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 31 March 2014 16:55, Arjan van de Ven <span dir="ltr"><<a href="mailto:[email protected]" target="_blank">[email protected]</a>></span> wrote:<br> <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">On 3/31/2014 8:54 AM, Bill Vyzas wrote:<br> <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> What the physical things will be in the case of powertop? Are we talking about device drivers and cpu measurements?<br> </blockquote> <br></div> powertop builds a power model of the devices in your computer, from fans to USB devices to CPU to ...<br> you name it.<br> to model those, it uses C++ style objects in a class hierarchy<br> <br> </blockquote></div><br></div>