1. 02 4月, 2021 1 次提交
  2. 21 3月, 2021 1 次提交
  3. 20 3月, 2021 1 次提交
  4. 13 3月, 2021 1 次提交
  5. 12 3月, 2021 1 次提交
  6. 26 2月, 2021 2 次提交
  7. 13 10月, 2020 1 次提交
  8. 30 8月, 2020 1 次提交
  9. 30 5月, 2020 2 次提交
  10. 17 5月, 2020 1 次提交
  11. 06 5月, 2020 1 次提交
  12. 07 3月, 2020 1 次提交
  13. 25 2月, 2020 1 次提交
  14. 18 1月, 2020 1 次提交
  15. 05 1月, 2020 1 次提交
  16. 30 10月, 2019 1 次提交
  17. 05 10月, 2019 1 次提交
  18. 22 8月, 2019 2 次提交
  19. 20 8月, 2019 4 次提交
    • V
      OcDataHubLib: Specify non 24 MHz ARTFrequency to macOS · 2657d54c
      vit9696 提交于
      2657d54c
    • M
      New procedure for determining the core crystal clock frequency: · 5ce54f3a
      M. R. Miller 提交于
        1. Try obtaining crystal clock frequency from CPUID_TIME_STAMP_COUNTER (15h) leaf from ECX.
        2. On failure, take predefined values for known processor models.
        3. On failure, check for CPUID_PROCESSOR_FREQUENCY availability and divide by the TSC ratio.
        4. On failure, assume 24 MHz.
      
      Added info about the highest supported leaf (OC_CPU_INFO::MaxId).
      Fixed a few places which were incorrectly comparing standard CPUID leaves against the maximum extended function leaf (OC_CPU_INFO::MaxExtId).
      Add a warning in case the TSC- and ART-derived frequency calculations are wildly different.
      5ce54f3a
    • M
      Fix some format specifiers. · c8d396e9
      M. R. Miller 提交于
      Correct CPU frequency calculation. TSC Adjust is only for converting timestamps between ART and TSC, not calculating the CPU frequency.
      Only apply the 25Mhz ART fallback if the processor is a Xeon Scalable, determined via the brand string until we can find a better method.
      c8d396e9
    • M
      Fix support for CPUS with Always Running Timers (ART) · dd6b0efb
      M. R. Miller 提交于
      Previously, OcCpuLib assumed all CPUs had the same core crystal clock frequency for their ART (24 Mhz). Xeon Scalable and Intel Atoms with Goldmont architecture have different frequencies (25 Mhz and 19.2 Mhz respectively). If the CPU supports reporting its frequency, use that. Otherwise, fallback to a value based on its model and family.
      
      Cleaned up the logic for how we compute our CPU and FSB frequencies. For CPUs that support ART, use that instead of the TSC frequency.
      
      Added documentation and renamed `OC_CPU_INFO::TSCFrequency` to `CPUFrequencyFromTSC` and added `CPUFrequencyFromART` for clarity. These are intermediate values used to compute `CPUFrequency`. `ARTFrequency` is now correctly set to the core crystal clock frequency rather than `CPUFrequencyFromART`, which it was previously.
      
      Lastly, adjusted the `CPUFrequencyFromART` calculation to include the TSC offset in `MSR_IA32_TSC_ADJUST` if present. I'm not aware of which CPUs have a non-zero offset but it's part of Intel's calculation for computing the CPU frequency based on the ART.
      dd6b0efb
  20. 06 8月, 2019 1 次提交
  21. 08 6月, 2019 2 次提交
  22. 07 6月, 2019 1 次提交
  23. 21 3月, 2019 1 次提交
  24. 13 3月, 2019 1 次提交
  25. 10 3月, 2019 1 次提交
  26. 07 3月, 2019 1 次提交
  27. 05 3月, 2019 1 次提交
  28. 01 3月, 2019 1 次提交
  29. 07 2月, 2019 1 次提交
  30. 07 10月, 2018 1 次提交