- correct the processor fall-through on `stats.h`

This commit is contained in:
Rachael Alexanderson 2022-03-08 17:17:09 -05:00
parent a245e4faad
commit eb6aa9f5d3
1 changed files with 3 additions and 1 deletions

View File

@ -140,7 +140,7 @@ inline uint64_t rdtsc()
#elif defined __aarch64__
// TODO: Implement and test on ARM64
return 0;
#else // i386
#elif defined __i386__ // i386
if (CPU.bRDTSC)
{
uint64_t tsc;
@ -148,6 +148,8 @@ inline uint64_t rdtsc()
return tsc;
}
return 0;
#else
return 0;
#endif // __amd64__
}
#endif