From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrea Acquaviva To: "ecos-discuss@sources.redhat.com" Subject: [ECOS]thread switch frequency Date: Fri, 20 Apr 2001 01:59:00 -0000 Message-id: <3ADFFA65.CC964CFF@deis.unibo.it> X-SW-Source: 2001-04/msg00251.html Hi, I have a question about eCos mlqueue scheduler. If there are two threads (making a matrix multiplication), running with the same priority, they switch with a frequency given by: f_clock/CYGNUM_KERNEL_SCHED_TIMESLICE_TICKS, where f_clock in the case of strongarm1110 (assabet) is 3.6864MHz. Is this correct or is there something else that affects the switching frequency? My question arises because I observed a mismatch between the switch time overhead calculated by tm_basic test and the one that I measured by evaluating the execution time of the two thread mentioned above (that is, is much less than expected). Thanks! Andrea. -- Ing. Andrea Acquaviva D.E.I.S. - Universita' di Bologna V.le Risorgimento, 2 40136 BOLOGNA (ITALY) Tel: (+39) 051 20 93787 Fax: (+39) 051 2093786