Re: Drift when measuring time using add_timer

From: Nikita V. Youshchenko
Date: Tue Dec 28 2010 - 07:23:48 EST


> do_gettimeofday(&timeval);

Try getnstimeofday() instead
--
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/