Skip to content

global_cpu_info().name() returns 0 on M2 Pro #1261

Answered by GuillaumeGomez
net-tech asked this question in Q&A
Discussion options

You must be logged in to vote

You can see the code here.

I wonder if the name shouldn't be empty instead... In any case, the global_cpu is not supposed to have a name as a computer can have multiple CPUs from different brands at the same time.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by net-tech
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants