From: Arjan van de Ven <arjan at linux.intel.com>
To: powertop@lists.01.org
Subject: Re: [Powertop] [powertop] ::wiggle() - what does that do?
Date: Tue, 19 Mar 2013 12:58:49 -0700 [thread overview]
Message-ID: <5148C379.7000002@linux.intel.com> (raw)
In-Reply-To: 1756753.dFRy6JGU15@intelfx-laptop
[-- Attachment #1: Type: text/plain, Size: 1015 bytes --]
On 3/19/2013 12:57 PM, Ivan Shapovalov wrote:
> On 19 March 2013 12:53:26 Arjan van de Ven wrote:
>> On 3/19/2013 12:51 PM, Ivan Shapovalov wrote:
>>> Hello all,
>>>
>>> I've been wondering on what does the abstract_cpu::wiggle() function does
>>> and why it is needed?.. All the code says is that it is needed to "have a
>>> record of CPU at the start and end of the perf trace".
>>>
>>> I'm asking just because I feel somewhat uncomfortable to have powertop
>>> changing my scaling frequency back and forth each N seconds. :)
>>
>> the reason this exists is that powertop wants to track what frequency the
>> cpu is at for the duration... ... and there's no way to ask for "current",
>> only to get change notifications
>>
>> so wiggle() forces a change... and from then on we know what it's at.
>
> ...And why isn't it possible to keep the value from last notification?
there may not have been one...
> Because time can pass between measurement end and new measurement start?
yep
next reply other threads:[~2013-03-19 19:58 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-19 19:58 Arjan van de Ven [this message]
-- strict thread matches above, loose matches on Subject: below --
2013-03-19 20:00 [Powertop] [powertop] ::wiggle() - what does that do? Ivan Shapovalov
2013-03-19 19:57 Ivan Shapovalov
2013-03-19 19:53 Arjan van de Ven
2013-03-19 19:51 Ivan Shapovalov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5148C379.7000002@linux.intel.com \
--to=powertop@lists.01.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.