15#if defined(__x86_64__) || defined(_M_X64) || defined(__i386__) || defined(_M_IX86)
16#pragma message "[COMPILE-TIME] Using x86 cycle counter"
20#elif defined(__aarch64__) || defined(_M_ARM64) || defined(__arm__) || defined(_M_ARM)
21#pragma message "[COMPILE-TIME] Using ARM cycle counter"
26#pragma message "[COMPILE-TIME] Using generic cycle counter (fallback)"
Global configuration for the tesseract tensor library.
Cycle counter using the ARM generic timer (CNTVCT_EL0).
No-op cycle counter fallback for unsupported platforms.
Cycle counter using x86 RDTSC with LFENCE serialization.
Hardware cycle counter for AArch64/ARM.
Definition cycle_counter_arm.h:19
Stub cycle counter for platforms without hardware timer access.
Definition cycle_counter_generic.h:18
Hardware cycle counter for x86/x86_64.
Definition cycle_counter_x86.h:21