z-logo
open-access-imgOpen Access
Analysis of FreeRTOS Overheads on Periodic Tasks
Author(s) -
Bruno Dourado Miranda,
Rômulo Silva de Oliveira,
Andreu Carminati
Publication year - 2021
Language(s) - English
Resource type - Conference proceedings
DOI - 10.5753/wperformance.2021.15728
Subject(s) - context switch , computer science , real time operating system , context (archaeology) , task (project management) , overhead (engineering) , embedded system , interrupt , microprocessor , operating system , arm architecture , execution time , real time computing , microcontroller , engineering , paleontology , systems engineering , biology
Real-Time Operating Systems (RTOS) have their own modules that need to be executed to manage system resources and such modules add overhead to task response times. FreeRTOS is used for experimental purposes since its is a widely used open-source RTOS. This work presents the investigation of two important sources of overhead: Function Tick, a FreeRTOS time marker, and the Context Switch between tasks. In this paper we also describe a model for reducing Tick analysis pessimism due to its temporal variation. Experiments measuring the execution time of Tick and Context Switch on ARM-Cortex M4 microprocessor were made to present the Best-Case Execution Time and the Worst-Case Execution time within a periodic task scenario. Measurements are used to validate the analytic models.

The content you want is available to Zendy users.

Already have an account? Click here to sign in.
Having issues? You can contact us here