Skip to content

Commit

Permalink
audio: perf: add core information into performance log
Browse files Browse the repository at this point in the history
print out core ID in each core performance log tracing.

Signed-off-by: Baofeng Tian <[email protected]>
  • Loading branch information
btian1 authored and lgirdwood committed Aug 31, 2023
1 parent 0573f9a commit 7d41360
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/schedule/zephyr_domain.c
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ static void zephyr_domain_thread_fn(void *p1, void *p2, void *p3)

if (++runs == 1 << CYCLES_WINDOW_SIZE) {
cycles_sum >>= CYCLES_WINDOW_SIZE;
tr_info(&ll_tr, "ll timer avg %u, max %u, overruns %u",
cycles_sum, cycles_max, overruns);
tr_info(&ll_tr, "ll core %u timer avg %u, max %u, overruns %u",
core, cycles_sum, cycles_max, overruns);
cycles_sum = 0;
cycles_max = 0;
runs = 0;
Expand Down

0 comments on commit 7d41360

Please sign in to comment.