Re: [linux-pm] [PATCH] pm: Add runtime PM statistics to sysfs

From: Arjan van de Ven
Date: Sat Jul 10 2010 - 12:25:58 EST


On Fri, 9 Jul 2010 11:11:06 -0400 (EDT)
Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/