Re: [FFmpeg-devel] [PATCH] arm/aarch64: Use mach_absolute_time as timer on apple platforms

2021-02-17 Thread Martin Storsjö
On Fri, 12 Feb 2021, Martin Storsjö wrote: This is much less precise than the cycle counter register, but the cycle counter register is not available on apple platforms (and on linux, it requires a kernel module for allowing user mode access). --- libavutil/aarch64/timer.h | 8 +++- libavutil

[FFmpeg-devel] [PATCH] arm/aarch64: Use mach_absolute_time as timer on apple platforms

2021-02-12 Thread Martin Storsjö
This is much less precise than the cycle counter register, but the cycle counter register is not available on apple platforms (and on linux, it requires a kernel module for allowing user mode access). --- libavutil/aarch64/timer.h | 8 +++- libavutil/arm/timer.h | 8 +++- 2 files chang