diff options
author | Martin Storsjö <martin@martin.st> | 2024-06-07 11:39:08 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2024-06-17 14:00:34 +0300 |
commit | ab8f7030bc46e5031d2ba438eddf0739098e3e5d (patch) | |
tree | d7510a47d00d0e2fc88782a0bae926c0a39f79a9 /libavfilter/vf_shuffleframes.c | |
parent | fcf72966a5f20b9d5df6889e748abd04019b56aa (diff) | |
download | ffmpeg-ab8f7030bc46e5031d2ba438eddf0739098e3e5d.tar.gz |
aarch64: Use cntvct_el0 as timer register on Android and macOS
The default timer register pmccntr_el0 usually requires enabling
access with e.g. a kernel module (while it is accessible by
default on Windows). On Linux, the default for checkasm benchmarks
is to use perf (if suitable headers are available) though.
On macOS, using cntvct_el0 gives measurements with the same
magnitude as mach_absolute_time (which is used currently), but
possibly with a little less overhead/noise.
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavfilter/vf_shuffleframes.c')
0 files changed, 0 insertions, 0 deletions