Re: delay loop
- Posted by Wolf <wolfritz at KING.IGS.NET> May 17, 2002
- 433 views
> this seems strange to me... > 17950 AMD 1000 Athlon under Windows ME > but then.. same machine booted into Linux Mandrake 8.3 > 4188! Thank's everyone, but I'm still 'stupid'. My first loop just checks the cpu speed, and the second was supposed to compensate, so it was a *lot* closer to the same on any machine. Guess I got it wrong in every way :( Perhaps changing: > > >for i = 1 to 2 + abs(tick/2400) do to: for i = 1 to (1 + (power(tick,1.2)/22000)) do ... might get a little closer ??? 486/90 = 2360 P166 = 3330 The real number's not critical, as long as it doesn't go over 80,000 on an AMD 10,000 Wolf