summaryrefslogtreecommitdiff
path: root/libavutil/timer.h
diff options
context:
space:
mode:
authorJanne Grunau <janne-libav@jannau.net>2015-12-03 00:12:39 +0100
committerJanne Grunau <janne-libav@jannau.net>2015-12-14 16:42:35 +0100
commit64034849dad8410bedbe1def4c533490fb85cc4a (patch)
treea956637460ea1d44df3c3ce92548c46920d1e1f6 /libavutil/timer.h
parent50078c1c8070dd8d1c329e8117ff30ec72489039 (diff)
arm64: add cycle counter support
The ISB (instruction synchronization barrier) might be too heavy for START/STOPTIMER use but should be more accurate in checkasm where the timing overhead is subtracted.
Diffstat (limited to 'libavutil/timer.h')
-rw-r--r--libavutil/timer.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libavutil/timer.h b/libavutil/timer.h
index 0d93d7c0ef..cc4c5a5901 100644
--- a/libavutil/timer.h
+++ b/libavutil/timer.h
@@ -38,7 +38,9 @@
#include "log.h"
-#if ARCH_ARM
+#if ARCH_AARCH64
+# include "aarch64/timer.h"
+#elif ARCH_ARM
# include "arm/timer.h"
#elif ARCH_BFIN
# include "bfin/timer.h"