- 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

View file

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