Skip to content

Commit

Permalink
audio: perf: enable dsp clock for performance measurement
Browse files Browse the repository at this point in the history
previously, performance measurement based on platform clock, source
clock is 38.4mhz, for better align with CPC calculation, change
clock to dsp clock, this will be done through enable config:
CONFIG_TIMING_FUNCTIONS, and this config only be used with perf_cnt
header file, so this change only have impact on performance build.

Signed-off-by: Baofeng Tian <[email protected]>
  • Loading branch information
btian1 authored and kv2019i committed Oct 18, 2023
1 parent fab0f72 commit 56dae24
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/perf_overlay.conf
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
CONFIG_PERFORMANCE_COUNTERS=y
CONFIG_SYS_HEAP_RUNTIME_STATS=y
CONFIG_TIMING_FUNCTIONS=y

0 comments on commit 56dae24

Please sign in to comment.