Re: LinuxPPS low-level IRQs timestamps & ldisc

From: Alan Cox
Date: Mon Jun 02 2008 - 12:03:55 EST


> I prefere avoid the if clause for getnstimeofday() since each
> instruction delay may decrease time precision, so:

Why should everyone else pay the cost of the getnstimeofday they don't
need ?

The single conditional check at the start won't make the slightest
material difference to your accuracy.

Alan
--
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/