Skip to content

Add new platform function to get cpu string#3533

Merged
richardg867 merged 1 commit into
86Box:masterfrom
cold-brewed:plat-get-cpu
Aug 9, 2023
Merged

Add new platform function to get cpu string#3533
richardg867 merged 1 commit into
86Box:masterfrom
cold-brewed:plat-get-cpu

Conversation

@cold-brewed

Copy link
Copy Markdown
Contributor

Summary

plat_get_cpu_string uses different methods to try and get the cpu string. These methods vary by OS. If it can't be determined it simply returns Unknown.

It is only really implemented in qt. There are stubs in unix and win that also return Unknown.

  • Mac: sysctl
  • Windows: registry key
  • Linux: /proc/cpuinfo

Checklist

  • I have discussed this with core contributors already

References

N/A

@richardg867
richardg867 merged commit 15013e1 into 86Box:master Aug 9, 2023
@cold-brewed
cold-brewed deleted the plat-get-cpu branch August 9, 2023 21:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants