Really don't care about cpu id.

This commit is contained in:
Bartosz Taudul 2018-04-26 16:12:52 +02:00
parent 1899066e36
commit 69a50b04c1

View File

@ -95,7 +95,7 @@ public:
asm volatile ( "mrs %0, cntvct_el0" : "=r" (t) ); asm volatile ( "mrs %0, cntvct_el0" : "=r" (t) );
return t; return t;
# elif defined _MSC_VER || defined __CYGWIN__ # elif defined _MSC_VER || defined __CYGWIN__
static unsigned int dontcare; unsigned int dontcare;
const auto t = int64_t( __rdtscp( &dontcare ) ); const auto t = int64_t( __rdtscp( &dontcare ) );
return t; return t;
# elif defined __i386 || defined _M_IX86 || defined __x86_64__ || defined _M_X64 # elif defined __i386 || defined _M_IX86 || defined __x86_64__ || defined _M_X64