Re: USB making time drift [was Re: dynamic-hz]

Pavel Machek
2004-12-16T01:21:05Z

Hi!

> > How much drift do you see?
>
> huge drift, minutes per hour or similar.

Okay, for your amusement, here's the evil
"do-few-msec-interrupt-latency" program.

Andrea, could you verify that it causes clock to drift for you? I'll
leave it running here overnight, and will see what happens.

Pavel
void
main(void)
{
int i;
iopl(3);
while (1) {
asm volatile("cli");
for (i=0; i<20000000; i++)
asm volatile("");
asm volatile("sti");
sleep(1);
}
}

--
People were complaining that M$ turns users into beta-testers...
...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!