RDTSC-based cycle_t for macOS
Windows and macOS now share most of related code Old implementation using mach_absolute_time() was more precise (at least in theory) but too costly
This commit is contained in:
parent
6225f60eb2
commit
1cdfcb4935
3 changed files with 22 additions and 83 deletions
|
|
@ -42,15 +42,6 @@
|
|||
#include "m_swap.h"
|
||||
#include "sbar.h"
|
||||
|
||||
|
||||
#if defined (__APPLE__)
|
||||
|
||||
mach_timebase_info_data_t cycle_t::s_info;
|
||||
bool cycle_t::s_initialized;
|
||||
|
||||
#endif // __APPLE__
|
||||
|
||||
|
||||
FStat *FStat::FirstStat;
|
||||
|
||||
FStat::FStat (const char *name)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue