Skip to content

Better handling of ARM CPU Names #2163

@NVShawn

Description

@NVShawn

When running oshi's tests on an ARM box, I get nothing for 'cpuName'. Intel processors give something like this: Intel(R) Core(TM) i7-10875H CPU @ 2.30GHz

I realize this is because Intel gives the full string of information and that ARM does not, but there is enough information out there to start to fill in the gaps at least. For example, we can get the implementor of the chip using public information like here: https://developer.arm.com/documentation/ddi0595/2021-06/External-Registers/MIDR-EL1--Main-ID-Register . There may be other places or ways to build up this information so there is something better than nothing for ARM cpu names.

Metadata

Metadata

Assignees

No one assigned

    Labels

    PR welcomeNot maintainer's priority to do but will accept contributions!compatibilityExtending OSHI compatibility to OSs or versionsdocumentationImprove javadocs or project documentation

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions