Python: Trying to get the number of logical and physical cores on a 3990X, getting the wrong answer?

前端 未结 0 1801
孤城傲影
孤城傲影 2021-01-24 07:08

I\'m trying to get the number of physical and logical processors on a given system via Python (v2.7). When I try:

import multiprocessing
print multiprocessing.cpu         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题