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>
|
||||
|
@ -20,15 +20,9 @@
|
||||
#define RTE_CMSIS_RTOS2 /* CMSIS-RTOS2 */
|
||||
#define RTE_CMSIS_RTOS2_RTX5 /* CMSIS-RTOS2 Keil RTX5 */
|
||||
#define RTE_CMSIS_RTOS2_RTX5_SOURCE /* CMSIS-RTOS2 Keil RTX5 Source */
|
||||
/* Keil.ARM Compiler::Compiler:Event Recorder:DAP:1.5.1 */
|
||||
#define RTE_Compiler_EventRecorder
|
||||
#define RTE_Compiler_EventRecorder_DAP
|
||||
/* Keil.ARM Compiler::Compiler:I/O:STDIN:User:1.2.0 */
|
||||
#define RTE_Compiler_IO_STDIN /* Compiler I/O: STDIN */
|
||||
#define RTE_Compiler_IO_STDIN_User /* Compiler I/O: STDIN User */
|
||||
/* Keil.ARM Compiler::Compiler:I/O:STDOUT:User:1.2.0 */
|
||||
/* Keil.ARM Compiler::Compiler:I/O:STDOUT:ITM:1.2.0 */
|
||||
#define RTE_Compiler_IO_STDOUT /* Compiler I/O: STDOUT */
|
||||
#define RTE_Compiler_IO_STDOUT_User /* Compiler I/O: STDOUT User */
|
||||
#define RTE_Compiler_IO_STDOUT_ITM /* Compiler I/O: STDOUT ITM */
|
||||
/* Keil::Device:STM32Cube Framework:Classic:1.2.7 */
|
||||
#define RTE_DEVICE_FRAMEWORK_CLASSIC
|
||||
/* Keil::Device:STM32Cube HAL:CRC:1.2.7 */
|
||||
|
Reference in New Issue
Block a user