MCPcopy Create free account
hub / github.com/pydata/numexpr / winreg_processor_brand

Method winreg_processor_brand

numexpr3/cpuinfo.py:188–192  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

186
187 @staticmethod
188 def winreg_processor_brand():
189 key = winreg.OpenKey(winreg.HKEY_LOCAL_MACHINE, r"Hardware\Description\System\CentralProcessor\0")
190 processor_brand = winreg.QueryValueEx(key, "ProcessorNameString")[0]
191 winreg.CloseKey(key)
192 return processor_brand
193
194 @staticmethod
195 def winreg_vendor_id():

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected