$ dmesg | grep clock
[0.000000] OMAP clocksource: GPTIMER1 at 24000000 Hz
[0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
这里的精度是41ns
[每天一个Linux小技巧] 查看时钟源精度
时间: 2024-10-13 16:11:33
$ dmesg | grep clock
[0.000000] OMAP clocksource: GPTIMER1 at 24000000 Hz
[0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
这里的精度是41ns
[每天一个Linux小技巧] 查看时钟源精度