[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Timing Under MiNT
In <199601291425.OAA21427@burn6.ncl.ac.uk> Craig.Graham@newcastle.ac.uk wrote:
> At the moment I use Talarm() to set timer callbacks in order to implement
> evnt_timer() and evnt_multi(MU_TIMER). This works fine (there's a delta queue
> backing up the signal handler to allow multiple events), but the problem
> is the Talarm() only has a resolution of 1 second, which is to long for
> several apps (notably Yukon calls evnt_timer() in between dealing each card
> - with a minimum 1sec delay, dealling a full deck takes ages).
IIRC select() has a higher resolution (1 microsecond under BSD, I suppose
it's the same under MiNT). The effective resolution will most likely be
limited to 1/200 sec.
Waldi