Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix cpu_freq for Apple silicon #2222

Merged
merged 22 commits into from
Jan 6, 2024

Commits on Apr 8, 2023

  1. Fix cpu_freq for Apple silicon

    Apple SoC returns empty string after querying the cpu frequency using
    sysctl, this information however, can still be extracted from the IOKit
    registry. This PR adds a new method that is specific to Apple ARM
    architecture.
    
    Fixes giampaolo#1892
    
    Signed-off-by: Oliver T <geronimooliver00@gmail.com>
    snOm3ad committed Apr 8, 2023
    Configuration menu
    Copy the full SHA
    68cfe12 View commit details
    Browse the repository at this point in the history

Commits on Apr 15, 2023

  1. Configuration menu
    Copy the full SHA
    44ec453 View commit details
    Browse the repository at this point in the history
  2. Remove psutil_arm_cpu_freq

    - Removes additional method
    - Changes method definition using macro
    - Method returns the max and min frequency
    - Returns None for current frequency
    
    Signed-off-by: Oliver T <geronimooliver00@gmail.com>
    snOm3ad committed Apr 15, 2023
    Configuration menu
    Copy the full SHA
    9a51fb0 View commit details
    Browse the repository at this point in the history

Commits on Apr 16, 2023

  1. Configuration menu
    Copy the full SHA
    0966429 View commit details
    Browse the repository at this point in the history
  2. add error checks and replaces strcmp

    Signed-off-by: Oliver T <geronimooliver00@gmail.com>
    snOm3ad committed Apr 16, 2023
    Configuration menu
    Copy the full SHA
    971ea61 View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2023

  1. Configuration menu
    Copy the full SHA
    56c5bf4 View commit details
    Browse the repository at this point in the history
  2. Fixed error handling

    - Centralized error handling to prevent dangling refs
    - Release only references we know for sure we own
    
    Signed-off-by: Oliver T <geronimooliver00@gmail.com>
    snOm3ad committed Apr 18, 2023
    Configuration menu
    Copy the full SHA
    2dfa630 View commit details
    Browse the repository at this point in the history
  3. remove EOL space

    Signed-off-by: Oliver T <geronimooliver00@gmail.com>
    snOm3ad committed Apr 18, 2023
    Configuration menu
    Copy the full SHA
    a147de7 View commit details
    Browse the repository at this point in the history
  4. add check for buffer and fix mem leak

    Signed-off-by: Oliver T <geronimooliver00@gmail.com>
    snOm3ad committed Apr 18, 2023
    Configuration menu
    Copy the full SHA
    182419f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    80efd7c View commit details
    Browse the repository at this point in the history
  6. removed conditional during cleanup

    Signed-off-by: Oliver T <geronimooliver00@gmail.com>
    snOm3ad committed Apr 18, 2023
    Configuration menu
    Copy the full SHA
    27efe3b View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    01da6b9 View commit details
    Browse the repository at this point in the history
  8. convert all checks to explicit form

    Signed-off-by: Oliver T <geronimooliver00@gmail.com>
    snOm3ad committed Apr 18, 2023
    Configuration menu
    Copy the full SHA
    23d87b9 View commit details
    Browse the repository at this point in the history

Commits on Apr 22, 2023

  1. Configuration menu
    Copy the full SHA
    443e5f1 View commit details
    Browse the repository at this point in the history
  2. Updated HISTORY

    Signed-off-by: Oliver T <geronimooliver00@gmail.com>
    snOm3ad committed Apr 22, 2023
    Configuration menu
    Copy the full SHA
    24c707f View commit details
    Browse the repository at this point in the history
  3. Fix formatting

    giampaolo committed Apr 22, 2023
    Configuration menu
    Copy the full SHA
    44f8c81 View commit details
    Browse the repository at this point in the history
  4. Update cpu.c

    giampaolo committed Apr 22, 2023
    Configuration menu
    Copy the full SHA
    d49409a View commit details
    Browse the repository at this point in the history

Commits on Jan 5, 2024

  1. Configuration menu
    Copy the full SHA
    eaacca9 View commit details
    Browse the repository at this point in the history

Commits on Jan 6, 2024

  1. Configuration menu
    Copy the full SHA
    ef4f677 View commit details
    Browse the repository at this point in the history
  2. Added entry to CREDITS and fix HISTORY.rst

    Signed-off-by: Oliver T <geronimooliver00@gmail.com>
    snOm3ad committed Jan 6, 2024
    Configuration menu
    Copy the full SHA
    cc72f4e View commit details
    Browse the repository at this point in the history
  3. Merge remote-tracking branch 'refs/remotes/origin/fix-cpu-freq-apple-…

    …silicon' into fix-cpu-freq-apple-silicon
    
    Signed-off-by: Oliver T <geronimooliver00@gmail.com>
    snOm3ad committed Jan 6, 2024
    Configuration menu
    Copy the full SHA
    f32b2c5 View commit details
    Browse the repository at this point in the history
  4. Delete dev files

    Signed-off-by: Oliver T <geronimooliver00@gmail.com>
    snOm3ad committed Jan 6, 2024
    Configuration menu
    Copy the full SHA
    2447a89 View commit details
    Browse the repository at this point in the history