Re: Drift when measuring time using add_timer

From: Mohan V
Date: Wed Dec 29 2010 - 00:18:22 EST


On Tue, Dec 28, 2010 at 5:44 PM, Nikita V. Youshchenko <yoush@xxxxxxxxx> wrote:
>>            do_gettimeofday(&timeval);
>
> Try getnstimeofday() instead
>
I tried with getnstimeofday(), I am getting the same result. Anyway
getnstimeofday()
gets called from do_gettimeofday().

Thanks,
Mohan
--
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/