diff --git a/src/common/rdtsc.cpp b/src/common/rdtsc.cpp index 81f41c1de..f9add71c1 100644 --- a/src/common/rdtsc.cpp +++ b/src/common/rdtsc.cpp @@ -40,8 +40,6 @@ static u64 GetTimeNs() { u64 EstimateRDTSCFrequency() { - #ifdef __x86_64__ - // Discard the first result measuring the rdtsc. FencedRDTSC(); std::this_thread::sleep_for(std::chrono::milliseconds{1}); @@ -58,12 +56,6 @@ u64 EstimateRDTSCFrequency() const u64 tsc_diff = tsc_end - tsc_start; const u64 tsc_freq = MultiplyAndDivide64(tsc_diff, 1000000000ULL, end_time - start_time); return RoundToNearest<100'000>(tsc_freq); - - #else - - return 0; - - #endif } } // namespace Common diff --git a/src/common/rdtsc.h b/src/common/rdtsc.h index 2020c3f68..fcf61266c 100644 --- a/src/common/rdtsc.h +++ b/src/common/rdtsc.h @@ -8,6 +8,7 @@ #endif #include "common/types.h" +#include "common/logging/log.h" namespace Common { @@ -38,7 +39,9 @@ static inline u64 FencedRDTSC() { #else // ARM -static inline u64 FencedRDTSC() { +static inline u64 FencedRDTSC() +{ + LOG_INFO(Core_Linker, "TODO: ARM FencedRDTSC"); return 0; } #endif