Martin Storsjö ac40c3bb07 checkasm: Test whether the native FFmpeg timers work
On some platforms (in particular, ARM/AArch64), the implementation
of AV_READ_TIME() may use a privileged instruction - in such
cases, benchmarking just fails with a SIGILL.

Instead of crashing, try executing AV_READ_TIME() once within
a region with the signal handler active, to allow gracefully
informing the user about the issue.

This matches the dav1d checkasm commit
95a192549a448b70d9542e840c4e34b60d09b093.

Signed-off-by: Martin Storsjö <martin@martin.st>
2024-01-15 23:29:12 +02:00
..
2024-01-11 14:48:53 +02:00
2023-12-11 18:42:07 +02:00
2023-11-27 17:55:24 +02:00
2023-11-18 22:01:59 +02:00
2023-05-20 20:07:21 +02:00
2023-11-16 16:53:44 +02:00
2023-04-13 15:17:04 +03:00
2021-07-22 14:47:57 +02:00
2022-11-06 14:39:36 +01:00
2023-12-22 09:28:04 -03:00