Re: rdtsc to mili secs?

H. Peter Anvin
2000-11-19T00:18:45Z

Followup to: <20001118211349.B382@bug.ucw.cz>
By author: Pavel Machek <pavel@suse.cz>
In newsgroup: linux.dev.kernel

> > Actually, on machines where RDTSC works correctly, you'd like to use
> > that to detect a lost timer interrupt.
> >
> > It's tough, it really is :(
>
> Well, my patch did not do that but you probably want lost timer
> interrupt detection so that you avoid false alarms.
>
> But that means you can no longer detect speed change after 10msec:
>
> going from 150MHz to 300MHz is very similar to one lost timer
> interrupt.
>

That's the point.

-hpa
--
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."