mirror of
https://github.com/wolfpld/tracy.git
synced 2026-06-08 08:33:48 +00:00
Use proper cpuid flag.
This commit is contained in:
@@ -223,7 +223,7 @@ static int64_t SetupHwTimer()
|
||||
{
|
||||
#ifndef TRACY_TIMER_QPC
|
||||
uint32_t regs[4];
|
||||
CpuId( regs, 0x80000001 );
|
||||
CpuId( regs, 1 );
|
||||
if( !( regs[3] & ( 1 << 4 ) ) ) InitFailure( "CPU doesn't support RDTSC instruction." );
|
||||
CpuId( regs, 0x80000007 );
|
||||
if( !( regs[3] & ( 1 << 8 ) ) )
|
||||
|
||||
Reference in New Issue
Block a user