public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS]thread switch frequency
@ 2001-04-20  1:59 Andrea Acquaviva
  2001-04-20  2:23 ` Jonathan Larmour
  0 siblings, 1 reply; 2+ messages in thread
From: Andrea Acquaviva @ 2001-04-20  1:59 UTC (permalink / raw)
  To: ecos-discuss

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



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-04-20  2:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-04-20  1:59 [ECOS]thread switch frequency Andrea Acquaviva
2001-04-20  2:23 ` Jonathan Larmour

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).