From: Arjan van de Ven <arjan@infradead.org>
To: Alan Stern <stern@rowland.harvard.edu>
Cc: linux-pm@lists.linux-foundation.org, <linux-kernel@vger.kernel.org>
Subject: Re: [linux-pm] [PATCH] pm: Add runtime PM statistics to sysfs
Date: Sat, 10 Jul 2010 09:29:42 -0700 [thread overview]
Message-ID: <20100710092942.1fa1d80c@infradead.org> (raw)
In-Reply-To: <Pine.LNX.4.44L0.1007091106070.1582-100000@iolanthe.rowland.org>
On Fri, 9 Jul 2010 11:11:06 -0400 (EDT)
Alan Stern <stern@rowland.harvard.edu> wrote:
>
> This is because update_pm_runtime_accounting() doesn't take into
> account the existence of the RPM_RESUMING and RPM_SUSPENDING states;
> it treats them all the same as RPM_ACTIVE.
this is by design fwiw; I'm considering the time spent going in and out
of suspend as "active", it's a little on the conservative side, but the
underlying assumption is that you're still burning power until you're
really suspended. Better to be conservative and not count it as really
suspended....
--
Arjan van de Ven Intel Open Source Technology Centre
For development, discussion and tips for power savings,
visit http://www.lesswatts.org
prev parent reply other threads:[~2010-07-10 16:25 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-09 5:48 Arjan van de Ven
2010-07-09 7:04 ` Ming Lei
2010-07-09 11:22 ` Arjan van de Ven
2010-07-09 15:00 ` [linux-pm] " Alan Stern
2010-07-09 15:11 ` Alan Stern
2010-07-10 16:00 ` Arjan van de Ven
2010-07-10 16:29 ` Arjan van de Ven [this message]
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=20100710092942.1fa1d80c@infradead.org \
--to=arjan@infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@lists.linux-foundation.org \
--cc=stern@rowland.harvard.edu \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®