Note: This is an obsolete section of the FreeRTOS website. If you want to view these pages but cannot see the menu frame then click here. Otherwise click here to visit the main FreeRTOS website. |
The operation calls the functions vTaskIncrementTick() and vTaskSwitchContext(), which are the functions called on each RTOS kernel tick. The task lists maintained by the RTOS kernel were set to a predefined condition prior to the test being performed. This removes any timing jitter and allows a direct comparison with results taken for other embedded processors.
The saving and restoration of a task context is not included within the measurement. Each microcontroller requires a different set of registers to be saved meaning a comparison is not directly possible. The PUSH and POP test detailed in the next section can be used as a guide to how efficient the context switch itself may be.
The operation is only performed once during the measured period. The relative shortness of the operation means the time taken to set and clear the digital output has a greater influence on the measured time than for other tests.
Any and all data, files, source code, html content and documentation included in the FreeRTOS distribution or available on this site are the exclusive property of Real Time Engineers Ltd..
See the files license.txt (included in the distribution) and this copyright notice for more information. FreeRTOSTM and FreeRTOS.orgTM are trade marks of Real Time Engineers Ltd..