practical work N°1 finish

We measure that switching context time is around:
- 20us without optimization, with EventRecorder
- 6us without optimization, without EventRecorder
- 2us with optimization (o2), without EventRecorder
This commit is contained in:
2024-04-08 15:19:41 +02:00
parent 26880f9bb8
commit eeff72a57b
4 changed files with 159 additions and 27 deletions

View File

@ -64,7 +64,7 @@
// <i> Defines how many ticks a thread will execute before a thread switch.
// <i> Default: 5
#ifndef OS_ROBIN_TIMEOUT
#define OS_ROBIN_TIMEOUT 5
#define OS_ROBIN_TIMEOUT 1
#endif
// </e>