int CDomCheck::core_count() { SYSTEM_INFO si; GetSystemInfo(&si); int count = si.dwNumberOfProcessors; return count; }
int CDomCheck::core_count() { SYSTEM_INFO si; GetSystemInfo(&si); int count = si.dwNumberOfProcessors; return count; }
转载于:https://www.cnblogs.com/daggex/p/10204058.html