-
Notifications
You must be signed in to change notification settings - Fork 349
Closed
Description
Is your feature request related to a problem? Please describe.
We need a fair metrics to evaluate the loading on DSP cores during audio playback/capture/hotwording. To prevent from overloading, checkers should be added with configurable threshold value in CI or maybe in release xtos builds.
Describe the solution you'd like
- DSP load tracker on upstream for xtos mode
- Have a configurable (e.g. Kconfig) threshold value to report error or forcedly drop the task with the lowest priority (and etc.) when the measured DSP load is excessive.
Describe alternatives you've considered
There is the performance counter which also measures cycle count. However it only reports peak which can be blustered by one burst in some situations.
Additional context
DSP load tracker has been adopted in SOF Zephyr builds and proven to be very useful for debugging.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request