commit | dac8754449c7b56c9e812518e61769614ba7c323 | [log] [tgz] |
---|---|---|
author | Pin-chih Lin <johnylin@google.com> | Wed Apr 13 00:38:32 2022 +0800 |
committer | Liam Girdwood <lgirdwood@gmail.com> | Thu May 05 21:52:13 2022 +0100 |
tree | d071974bd1ff94e4d3a81b578fc8033aac7b6164 | |
parent | dbb63071b125e5558a110c71c828bc603a173c0a [diff] |
perf_cnt: add the tracing of window-based average calculation The average number of cpu cycles/ticks spent could be provided per 1024 scheduled tasks by the performance counter. It would be more accurate for MCPS measurement than the peak number. Even so, the tracing macro will log both of them to provide more insights. This is enabled by CONFIG_PERFORMANCE_COUNTERS_RUN_AVERAGE, which depends on CONFIG_PERFORMANCE_COUNTERS. Signed-off-by: Pin-chih Lin <johnylin@google.com>
See docs
See unit testing documentation
TODO: Add additional notes about how to deploy this on a live system
See Contributing to the Project
This project is licensed under the BSD Clause 3 - see the LICENCE file for details