Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate RTOS Task Runtime Statistics for Debug Builds #45

Open
ztnel opened this issue Mar 2, 2024 · 0 comments
Open

Integrate RTOS Task Runtime Statistics for Debug Builds #45

ztnel opened this issue Mar 2, 2024 · 0 comments
Assignees
Labels
good first issue Good for newcomers qa Quality assurance and testing rtos Real-time Operating System

Comments

@ztnel
Copy link
Contributor

ztnel commented Mar 2, 2024

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:
スクリーンショット 2024-03-02 12 30 13

@ztnel ztnel added qa Quality assurance and testing rtos Real-time Operating System labels Mar 2, 2024
@ztnel ztnel self-assigned this Mar 2, 2024
@ztnel ztnel added the good first issue Good for newcomers label Mar 2, 2024
@ztnel ztnel changed the title RTOS Task Runtime Statistics Integrate RTOS Task Runtime Statistics for Debug Builds Mar 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers qa Quality assurance and testing rtos Real-time Operating System
Projects
None yet
Development

No branches or pull requests

1 participant