multitasking question

Eric Norum eric.norum at usask.ca
Mon Feb 11 14:37:52 UTC 2002


Stan wrote:
> 
> Hi,
> 
> How to determine the CONFIGURE_MICROSECONDS_PER_TICK   and
> CONFIGURE_TICKS_PER_TIMESLICE value for optimal performance.?
> 
> At the present time, I use
> 
> #define CONFIGURE_MICROSECONDS_PER_TICK     833
> #define CONFIGURE_TICKS_PER_TIMESLICE       3
> 
> with 68000 (16 MHz).
> 
> What do you think about it?


Offhand I'd say that 833 usec/tick is pretty fast for a 16 MHz 68000. 
Your system will be spending a significant portion of its time
entering/exitting/executing the clock interrupt handler.

-- 
Eric Norum                                 eric.norum at usask.ca
Department of Electrical Engineering       Phone: (306) 966-5394
University of Saskatchewan                 FAX:   (306) 966-5407
Saskatoon, Canada.



More information about the users mailing list