Re: DOS time() [was Re: Rob: Bug with Windows trasking translator]
- Posted by Robert Craig <rds at RapidEuphoria.com> Feb 18, 2006
- 514 views
Bob Elia wrote: > > Robert Craig wrote: > > ... > > Another advantage to tick_rate() is that time() won't wrap around > > every 24 hours, since I use a 32-bit clock-tick counter to count > > the clock interrupts, rather than relying on the usual call to DOS. > > I figure it would take several months to wrap, at 100 ticks/sec. > > > Ah, very interesting. > Does that mean that time(20) would take 5 * "several months" ? Yes. (You meant tick_rate(20)) Regards, Rob Craig Rapid Deployment Software http://www.RapidEuphoria.com