imate.device.get_processor_name#

imate.device.get_processor_name()#

Gets the model name of CPU processor.

Returns:
gpu_namestr

Processor name

Notes

For Linux, this function parses the output of

cat /proc/cpuino

For macOS, this function parses the output of

sysctl -n machdep.cpu.brand_string

Warning

For Windows operating system, this function does not get the full brand name of the cpu processor

Examples

>>> from imate.device import get_processor_name
>>> get_processor_name()
'Intel(R) Xeon(R) CPU E5-2623 v3 @ 3.00GHz'