The fallback path covers not just ARM64, need this for Power as well.

Change-Id: I7bbf76f77bd3ac47a0a0987c1e880e23834588e2
이 커밋은 다음에 포함됨:
hthangir
2017-06-07 14:45:29 -05:00
부모 cd35fb280a
커밋 a0957bc679
2개의 변경된 파일1개의 추가작업 그리고 7개의 파일을 삭제
+1 -2
파일 보기
@@ -147,8 +147,7 @@ class fast_clock {
#ifdef __x86_64__
static __forceinline raw_rep raw_now() { return __rdtsc(); }
static __forceinline raw_frequency raw_freq() { return freq; }
#endif
#ifdef __aarch64__
#else
static __forceinline raw_rep raw_now() {
struct timespec ts;
clock_gettime(CLOCK_MONOTONIC_RAW, &ts);
-5
파일 보기
@@ -56,11 +56,6 @@ typedef uint64_t uint64;
#if defined(__GNUC__)
#if defined(__i386__) || defined(__x86_64__)
#include <x86intrin.h>
#elif defined(__aarch64__)
#else
#error \
"Processor or compiler not identified. " \
"Need to provide a lightweight approximate clock interface via function uint64_t __rdtsc() or adapt timer.h to your platform."
#endif
#define __forceinline __inline__ __attribute__((always_inline))