Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion xtos/include/sof/lib/perf_cnt.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,9 @@ struct perf_cnt_data {
* "cpu" timestamps to be equal.
*/
#ifdef __ZEPHYR__
#include <zephyr/timing/timing.h>
#ifdef CONFIG_TIMING_FUNCTIONS
#define perf_cnt_get_cpu_ts arch_timing_counter_get
#define perf_cnt_get_cpu_ts timing_counter_get
#else
#define perf_cnt_get_cpu_ts sof_cycle_get_64
#endif /* CONFIG_TIMING_FUNCTIONS */
Expand Down