1234567891011121314151617181920212223242526272829 |
- diff --git a/sysdeps/x86_64/hp-timing.h b/sysdeps/x86_64/hp-timing.h
- index d88206c..886c500 100644
- --- a/sysdeps/x86_64/hp-timing.h
- +++ b/sysdeps/x86_64/hp-timing.h
- @@ -19,22 +19,5 @@
- #ifndef _HP_TIMING_H
- -#define _HP_TIMING_H 1
- -
- -/* We always assume having the timestamp register. */
- -#define HP_TIMING_AVAIL (1)
- -#define HP_SMALL_TIMING_AVAIL (1)
- -
- -/* We indeed have inlined functions. */
- -#define HP_TIMING_INLINE (1)
- -
- -/* We use 64bit values for the times. */
- -typedef unsigned long long int hp_timing_t;
- -
- -/* The "=A" constraint used in 32-bit mode does not work in 64-bit mode. */
- -#define HP_TIMING_NOW(Var) \
- - ({ unsigned int _hi, _lo; \
- - asm volatile ("rdtsc" : "=a" (_lo), "=d" (_hi)); \
- - (Var) = ((unsigned long long int) _hi << 32) | _lo; })
- -
- -#include <hp-timing-common.h>
- +
- +#include <sysdeps/generic/hp-timing.h>
-
- #endif /* hp-timing.h */
|