]> git.sesse.net Git - ffmpeg/commit
arm/aarch64: Use mach_absolute_time as timer on apple platforms
authorMartin Storsjö <martin@martin.st>
Fri, 12 Feb 2021 10:27:03 +0000 (12:27 +0200)
committerMartin Storsjö <martin@martin.st>
Sun, 21 Feb 2021 20:41:34 +0000 (22:41 +0200)
commitee040a7fc23b9dbd8db6c4291e43c653d61325fe
treec4f478993e14929686a4430e881c22f3d77f3efe
parent5ca40d6d941bd802a7b953b3a21cd075725d5c98
arm/aarch64: Use mach_absolute_time as timer on apple platforms

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).

Signed-off-by: Martin Storsjö <martin@martin.st>
libavutil/aarch64/timer.h
libavutil/arm/timer.h