8#if defined(JPH_PLATFORM_WINDOWS)
10#elif defined(JPH_CPU_X86) && defined(JPH_COMPILER_GCC)
11 #include <x86intrin.h>
16#if defined(JPH_PLATFORM_WINDOWS_UWP) || (defined(JPH_PLATFORM_WINDOWS) && defined(JPH_CPU_ARM))
26#if defined(JPH_PLATFORM_BLUE)
27 return JPH_PLATFORM_BLUE_GET_TICKS();
28#elif defined(JPH_CPU_X86)
30#elif defined(JPH_CPU_ARM) && defined(JPH_USE_NEON)
32 asm volatile(
"mrs %0, cntvct_el0" :
"=r" (val));
34#elif defined(JPH_CPU_ARM)
36#elif defined(JPH_CPU_WASM)
#define JPH_NAMESPACE_END
Definition Core.h:240
uint64_t uint64
Definition Core.h:313
#define JPH_NAMESPACE_BEGIN
Definition Core.h:234
uint64 GetProcessorTicksPerSecond()
Get the amount of ticks per second, note that this number will never be fully accurate as the amound ...
Definition TickCounter.cpp:115
JPH_NAMESPACE_BEGIN JPH_INLINE uint64 GetProcessorTickCount()
Functionality to get the processors cycle counter.
Definition TickCounter.h:24