diff options
author | Andrey Lihatskiy <alihatskiy@productengine.com> | 2024-06-06 17:17:49 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-06 17:17:49 +0300 |
commit | 8f6e50ed6a8b2a3f7b2a173bf7c535aac13f22b5 (patch) | |
tree | 164ce475033328c403e49eafc81cbb5c1ac9ea6d /indra/newview/app_settings/shaders/class1/deferred/starsV.glsl | |
parent | 94a18c43f5153fd50b7350b45d6b221aa80cb269 (diff) | |
parent | 2117dca25e1d15cbbf9def774ec0fac29e5c01dd (diff) |
Merge pull request #1636 from megapahit/macos-arm64
* An alternative in getting CPU freq on M-series
This solution was retrieved from
https://listman.redhat.com/archives/libvir-list/2022-February/228217.html
sysctl hw.cpufrequency would result as empty on Apple Silicon (at least) M1,
when run natively. Ironically (and that's why it's been working with viewers
relying on Rosetta 2), arch -x86_64 /bin/bash -c 'sysctl hw.cpufrequency'
run on an Apple Silicon would result in the correct number.
* tbfreq x clockrate.hz only when cpufrequency is 0
Just maybe M3 implements cpufrequency, which should be more accurate
than the alternative (different results on my Intel Mac).
Diffstat (limited to 'indra/newview/app_settings/shaders/class1/deferred/starsV.glsl')
0 files changed, 0 insertions, 0 deletions