We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a000ee2 commit 767a616Copy full SHA for 767a616
1 file changed
zephyr/wrapper.c
@@ -265,7 +265,11 @@ void platform_dai_timestamp(struct comp_dev *dai,
265
/* get current wallclock for componnent */
266
void platform_dai_wallclock(struct comp_dev *dai, uint64_t *wallclock)
267
{
268
+#ifndef CONFIG_SOF_USERSPACE_LL
269
*wallclock = sof_cycle_get_64();
270
+#else
271
+ *wallclock = k_uptime_get();
272
+#endif
273
}
274
275
/*
0 commit comments