diff options
author | Alexander Momchilov <alexandermomchilov@gmail.com> | 2021-09-23 19:44:20 -0400 |
---|---|---|
committer | Alexander Momchilov <alexandermomchilov@gmail.com> | 2021-09-26 10:58:47 -0400 |
commit | e26a2cf431272ad92e66c9a55dee80df1db79ff4 (patch) | |
tree | 23ba340d31eaa89dd4496922ed8c465a04c7edee /darwin/PlatformHelpers.h | |
parent | d527bc9132c2adf94666dc5b9593609d357ea1e4 (diff) |
Workaround for Rosetta 2 on Darwin
rdar://FB9546856
https://openradar.appspot.com/radar?id=5055988478509056
Diffstat (limited to 'darwin/PlatformHelpers.h')
-rw-r--r-- | darwin/PlatformHelpers.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/darwin/PlatformHelpers.h b/darwin/PlatformHelpers.h index f78ca4ea..f1af1c0b 100644 --- a/darwin/PlatformHelpers.h +++ b/darwin/PlatformHelpers.h @@ -31,4 +31,10 @@ bool Platform_KernelVersionIsBetween(KernelVersion lowerBound, KernelVersion upp double Platform_calculateNanosecondsPerMachTick(void); +void Platform_getCPUBrandString(char *cpuBrandString, size_t cpuBrandStringSize); + +bool Platform_isRunningTranslated(void); + +double Platform_calculateNanosecondsPerMachTick(void); + #endif |