MCPcopy Create free account
hub / github.com/Autodesk/Aurora / GetCPUCount

Function GetCPUCount

Scripts/installExternalsFunctions.py:235–239  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

233 versionFile.close()
234
235def GetCPUCount():
236 try:
237 return multiprocessing.cpu_count()
238 except NotImplementedError:
239 return 1
240
241def Run(cmd, logCommandOutput = True):
242 """

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected