Re: How to measure time accurately.

From: Jan Engelhardt
Date: Wed Mar 30 2005 - 04:49:03 EST



> For ppc this only gives 32-bit values, which overflow every 129 seconds on my
> G5. Depending on how long you're trying to time, this could be a problem.

Just take an extra measure to "record" overflows (2^32-1 => 0) and you're set.



Jan Engelhardt
--
No TOFU for me, please.
-
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/