mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-26 07:54:36 +00:00
Fix timer setup for fallback timer.
This commit is contained in:
parent
224956abad
commit
a3bfbab6bd
@ -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." );
|
||||
|
Loading…
Reference in New Issue
Block a user