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

Method winreg_feature_bits

numexpr3/cpuinfo.py:217–221  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

215
216 @staticmethod
217 def winreg_feature_bits():
218 key = winreg.OpenKey(winreg.HKEY_LOCAL_MACHINE, r"Hardware\Description\System\CentralProcessor\0")
219 feature_bits = winreg.QueryValueEx(key, "FeatureSet")[0]
220 winreg.CloseKey(key)
221 return feature_bits
222
223def obj_to_b64(thing):
224 a = thing

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected