[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20100710092942.1fa1d80c@infradead.org>
Date: Sat, 10 Jul 2010 09:29:42 -0700
From: Arjan van de Ven <arjan@...radead.org>
To: Alan Stern <stern@...land.harvard.edu>
Cc: linux-pm@...ts.linux-foundation.org, <linux-kernel@...r.kernel.org>
Subject: Re: [linux-pm] [PATCH] pm: Add runtime PM statistics to sysfs
On Fri, 9 Jul 2010 11:11:06 -0400 (EDT)
Alan Stern <stern@...land.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists