Messages in this thread | | | Date | Thu, 4 May 2006 22:02:22 +0200 | From | Florian Paul Schmidt <> | Subject | Re: sched_clock() uses are broken |
| |
On Tue, 2 May 2006 14:29:53 +0100 Russell King <rmk+lkml@arm.linux.org.uk> wrote:
> However, this is not the case. On x86 with TSC, it returns a 54 bit > number. This means that when t1 < t0, time_passed_ns becomes a very > large number which no longer represents the amount of time.
Hi,
is this specific to the sched_clock() or does the rdtsc on these systems only use 54 bit?
Flo
-- Palimm Palimm! http://tapas.affenbande.org - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |