Re: sched_clock() uses are broken

From: Florian Paul Schmidt
Date: Thu May 04 2006 - 16:01:58 EST


On Tue, 2 May 2006 14:29:53 +0100
Russell King <rmk+lkml@xxxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/