Re: [Powertop] Powertop on chromeos

Gopal, Saranya <saranya.gopal at intel.com>
Newsgroups dev.linux.lists.powertop
Message-ID <C672AA6DAAC36042A98BAD0B0B25BDA92251A081@BGSMSX104.gar.corp.intel.com>
Hi all,

I was just missing '=' in my commands.
Right command was: powertop --time=60
Thanks Christophe for pointing it out.

Thanks,
Saranya

From: PowerTop [mailto:powertop-bounces(a)lists.01.org] On Behalf Of Gopal, Saranya
Sent: Thursday, March 06, 2014 1:51 PM
To: powertop(a)lists.01.org
Subject: [Powertop] Powertop on chromeos

Hi all,

I am trying to use PowerTop on a baytrail-M board running chromeOS.
I downloaded the source from https://github.com/fenrus75/powertop and compiled in my host machine (Ubuntu 12.04)
Then I copied the binary to the baytrail-M board on which I need to take measurements.
When I run the powertop binary, it seems to work and I could even get the output in csv or html format.
But, my problem is that I could not configure any other parameter while running the tool.
For example, powertop --time 60 does not work. Neither does powertop --iteration 3
It always says it is taking 1 measurement in 20 seconds.
I notice that it reports that it could not load from file /var/cache/powertop/saved-parameters.powertop.
Is that an issue?
Should I install some configuration file somewhere in my target machine?
Has anyone tried running powertop on chromeOS?
Any pointers to fix this issue would be of great help to me.

Thanks,
Saranya
attachment.html (text/html, 4.5 KB)
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
span.EmailStyle18
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">Hi all,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">I was just missing &#8216;=&#8217; in my commands.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Right command was: powertop --time=60<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Thanks Christophe for pointing it out.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Thanks,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Saranya<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> PowerTop [mailto:[email protected]]
<b>On Behalf Of </b>Gopal, Saranya<br>
<b>Sent:</b> Thursday, March 06, 2014 1:51 PM<br>
<b>To:</b> [email protected]<br>
<b>Subject:</b> [Powertop] Powertop on chromeos<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Hi all,<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">I am trying to use PowerTop on a baytrail-M board running chromeOS.<o:p></o:p></p>
<p class="MsoNormal">I downloaded the source from <a href="https://github.com/fenrus75/powertop">
https://github.com/fenrus75/powertop</a> and compiled in my host machine (Ubuntu 12.04)<o:p></o:p></p>
<p class="MsoNormal">Then I copied the binary to the baytrail-M board on which I need to take measurements.<o:p></o:p></p>
<p class="MsoNormal">When I run the powertop binary, it seems to work and I could even get the output in csv or html format.<o:p></o:p></p>
<p class="MsoNormal">But, my problem is that I could not configure any other parameter while running the tool.<o:p></o:p></p>
<p class="MsoNormal">For example, powertop --time 60 does not work. Neither does powertop --iteration 3<o:p></o:p></p>
<p class="MsoNormal">It always says it is taking 1 measurement in 20 seconds.<o:p></o:p></p>
<p class="MsoNormal">I notice that it reports that it could not load from file /var/cache/powertop/saved-parameters.powertop.<o:p></o:p></p>
<p class="MsoNormal">Is that an issue?<o:p></o:p></p>
<p class="MsoNormal">Should I install some configuration file somewhere in my target machine?<o:p></o:p></p>
<p class="MsoNormal">Has anyone tried running powertop on chromeOS?<o:p></o:p></p>
<p class="MsoNormal">Any pointers to fix this issue would be of great help to me.<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Thanks,<o:p></o:p></p>
<p class="MsoNormal">Saranya<o:p></o:p></p>
</div>
</body>
</html>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.