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:
@ -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>
|
||||
|
Reference in New Issue
Block a user