mirror of https://github.com/thesofproject/sof.git
component: add frames and period info to component performance profiling
Frames and period are key information for time calculation, with these and sample rate, it would be easy to get current component consumed data in time domain. CI script also easy to get these information for further calculation. Signed-off-by: Baofeng Tian <baofeng.tian@intel.com>
This commit is contained in:
parent
a28dde6702
commit
32129b9bf4
|
@ -249,7 +249,9 @@ enum {
|
|||
(uint32_t)((pcd)->cpu_delta_peak))
|
||||
|
||||
#define comp_perf_avg_info(pcd, comp_p) \
|
||||
comp_info(comp_p, "perf comp_copy cpu avg %u (current peak %u)",\
|
||||
comp_info(comp_p, "perf comp_copy samples %u period %u cpu avg %u peak %u",\
|
||||
(uint32_t)((comp_p)->frames), \
|
||||
(uint32_t)((comp_p)->period), \
|
||||
(uint32_t)((pcd)->cpu_delta_sum), \
|
||||
(uint32_t)((pcd)->cpu_delta_peak))
|
||||
|
||||
|
|
Loading…
Reference in New Issue