Skip to contentSkip to conversation

Add sched_clock to Atmel TCB clock source

PATCH New Carsten Emde 1 participant 1 message Jun 2, 2015

lore
Share & tools
lore
#0 lore raw

cover Add sched_clock to Atmel TCB clock source

Hi Sebastian,

the SAMA5D3 Xplained board lacks a high-resolution sched_clock. After applying this patch
sched_clock: 32 bits at 100 Hz, resolution 10000000ns, wraps every 21474836480000000ns
is followed by
sched_clock: 32 bits at 16MHz, resolution 60ns, wraps every 260301047747ns

Thanks,
-Carsten.