This post is continuation of “Mac OSX CPU Information. Terminal and Programmatically”. Finally I got device with Apple Silicon processor. Virtual so far. I want to buy physical one when both happen it will be available in store and enough money in my pocket or account or whatever. I hope it happens soon.
# sysctl machdep.cpu
machdep.cpu.brand_string: Apple processor
The result of cpubrand_string, the source code is there.
CPU Brand String: Apple processor
By the way the code works similar when it was compiled on Apple Silicon or Intel processors.