From a3bfbab6bd6859da66275b40c0835ffb63f36159 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Fri, 29 Jan 2021 11:20:23 +0100 Subject: [PATCH] Fix timer setup for fallback timer. --- client/TracyProfiler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/TracyProfiler.cpp b/client/TracyProfiler.cpp index 5c19aef3..9ea3d12b 100644 --- a/client/TracyProfiler.cpp +++ b/client/TracyProfiler.cpp @@ -225,7 +225,7 @@ static void InitFailure( const char* msg ) static int64_t SetupHwTimer() { -#ifndef TRACY_TIMER_QPC +#if !defined TRACY_TIMER_QPC && !defined TRACY_TIMER_FALLBACK uint32_t regs[4]; CpuId( regs, 1 ); if( !( regs[3] & ( 1 << 4 ) ) ) InitFailure( "CPU doesn't support RDTSC instruction." );