Re: getnstimeofday() and suspend

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Igor Stoppa <igor.stoppa@xxxxxxxxx> writes:

> On Fri, 2008-08-15 at 12:55 +0300, Högander Jouni wrote:
>
>> Using them both would also generate more complexity. What would be the
>> benefit in using them both?
>
> The RTC should be used during suspend since it's supposed to keep track
> of time regardless of how long the duration of the suspension is.
>
> The 32kHz alone is not a good generic solution since it overflows after
> a couple of days.

Yes you are right on that timer overflow. How generic this is, I'm not
sure. This is only for measuring time pwrdms spent in their states on
suspend. How about removing that time from pm debug interfaces? They
are meant for debugging dynamic sleep anyway.

-- 
Jouni Högander

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux