From 82920b77d30dde51d8385eff116679d8617b32c4 Mon Sep 17 00:00:00 2001 From: George Bosilca Date: Wed, 26 Nov 2014 16:59:57 -0500 Subject: [PATCH] Use RDTSC by now. --- opal/include/opal/sys/amd64/timer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opal/include/opal/sys/amd64/timer.h b/opal/include/opal/sys/amd64/timer.h index a04c367f61..c08e6f3cae 100644 --- a/opal/include/opal/sys/amd64/timer.h +++ b/opal/include/opal/sys/amd64/timer.h @@ -32,7 +32,7 @@ static inline opal_timer_t opal_sys_timer_get_cycles(void) { unsigned a, d; -#if 0 +#if 1 __asm__ __volatile__ ("cpuid\n\t" "rdtsc\n\t" : "=a" (a), "=d" (d)