@inproceedings{98f91624ad484f39bec4a7b13c932c96,
title = "Lightweight Instrumentation for Accurate Performance Monitoring in RTOSes",
abstract = "Evaluating performance metrics in embedded systems poses challenges, particularly due to the limited set of tools available for monitoring performance counters. In addition, performance evaluation frameworks for Real-Time Operating Systems (RTOSes) often lack the sophistication and capabilities available in general-purpose operating systems like Linux, which benefit from utilities such as perf-event. To bridge this gap, this paper presents an accurate and low-overhead instrumentation utility tailored for RTOSes. Our approach utilizes performance monitoring counters to observe individual user applications within the RTOS environment. Importantly, it enables comprehensive application monitoring by strategically placing probes at points of inherent system interference, thereby minimizing additional overhead. A pre-calibration of these probes allows for fine-grained measurements within user applications. This results in the elimination of 100 % of the overheads for most counters in our test configuration, impacting the context switch by only three additional instructions per monitored counter.",
keywords = "2024 OA procedure, Monitoring, RISC-V, RTOS, Trace, Hardware Perfomance Counters",
author = "Bruno Forlin and Chen, {Kuan Hsun} and Nikolaos Alachiotis and Luca Cassano and Marco Ottavi",
note = "Publisher Copyright: {\textcopyright} 2024 EDAA.; Design, Automation & Test in Europe Conference & Exhibition, DATE 2024, DATE 2024 ; Conference date: 25-03-2024 Through 27-03-2024",
year = "2024",
month = jun,
day = "10",
language = "English",
series = "Proceedings -Design, Automation and Test in Europe, DATE",
publisher = "IEEE",
booktitle = "2024 Design, Automation and Test in Europe Conference and Exhibition, DATE 2024 - Proceedings",
address = "United States",
}