AW: [En-Nut-Discussion] Cycles used for Thread Switch and Interrupts
Oliver Schulz
olischulz at web.de
Wed May 26 00:23:00 CEST 2004
Hi Martin,
I can try to give some values for avr-gcc compiler.
For Nut/OS version 3.4.2.90 (RC for 3.4.3):
Thread switch: 115 cycles (NutThreadSwitch, including overhead)
Calling interrupt handler: 45 Cycles (including overhead)
For Nut/OS version 3.5.x (current HEAD):
Thread switch: 115 cycles (NutThreadSwitch, including overhead)
Calling interrupt handler: 64 Cycles (using separate interrupt stack,
including overhead)
(Hopefully I did the counting correctly.)
Cheers,
Oliver.
> -----Ursprungliche Nachricht-----
> Von: en-nut-discussion-bounces at egnite.de
> [mailto:en-nut-discussion-bounces at egnite.de]Im Auftrag von Martin Hinz
> Gesendet: Dienstag, 25. Mai 2004 16:05
> An: Ethernut User Chat (English)
> Betreff: [En-Nut-Discussion] Cycles used for Thread Switch and
> Interrupts
>
>
> hello all
>
> does anybody know about how many cycles your system uses for a thread
> switch and for jumping to a interrupt handle?
>
> greetings, martin
> _______________________________________________
> En-Nut-Discussion mailing list
> En-Nut-Discussion at egnite.de
> http://www.egnite.de/mailman/listinfo.cgi/en-nut-discussion
More information about the En-Nut-Discussion
mailing list