mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 02:31:48 +00:00
Use proper cpuid flag.
This commit is contained in:
parent
0744355a67
commit
aa3b0de1f5
@ -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 ) ) )
|
||||
|
Loading…
Reference in New Issue
Block a user