你已经派生过 gprMax
镜像自地址
https://gitee.com/sunhf/gprMax.git
已同步 2025-08-06 20:46:52 +08:00
Corrected sockets detection for Mac OS.
这个提交包含在:
@@ -195,6 +195,7 @@ def get_host_info():
|
||||
|
||||
# CPU information
|
||||
sockets = subprocess.check_output("sysctl -n hw.packages", shell=True).decode('utf-8').strip()
|
||||
sockets = int(sockets)
|
||||
cpuID = subprocess.check_output("sysctl -n machdep.cpu.brand_string", shell=True).decode('utf-8').strip()
|
||||
cpuID = ' '.join(cpuID.split())
|
||||
if psutil.cpu_count(logical=False) != psutil.cpu_count(logical=True):
|
||||
|
在新工单中引用
屏蔽一个用户