Integrate RTOS Task Runtime Statistics for Debug Builds #45
Labels
good first issue
Good for newcomers
qa
Quality assurance and testing
rtos
Real-time Operating System
Description
Querying the task runtime statistics during debugging will aid in profiling the code execution. This can be an additional layer of debugging ontop of the ITM. See the documentation here for configuring RTOS task runtime statistics:
https://www.freertos.org/rtos-run-time-stats.html
Normally this requires configuration of a dedicated timer peripheral which samples faster than the RTOS Systick. As a result we would only want to use runtime statistics (and the associated timer) in debug builds. In the release builds RTOS runtime statistics should not be configured.
The goal is ultimately to populate the runtime metrics in the task debugger:
The text was updated successfully, but these errors were encountered: