Commit 906c4ec2 authored by Hongzhan Chen's avatar Hongzhan Chen Committed by Jan Kiszka

cobalt/clock: dovetail: implement pipeline_read_cycle_counter()

Signed-off-by: default avatarHongzhan Chen <hongzhan.chen@intel.com>
Signed-off-by: Jan Kiszka's avatarJan Kiszka <jan.kiszka@siemens.com>
parent 7252907b
......@@ -14,9 +14,7 @@ struct timespec64;
static inline u64 pipeline_read_cycle_counter(void)
{
/* Read the raw cycle counter of the core clock. */
TODO();
return 0;
return ktime_get_raw_fast_ns();
}
void pipeline_set_timer_shot(unsigned long cycles);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment