int CDomCheck::core_count() { SYSTEM_INFO si; GetSystemInfo(&si); int count = si.dwNumberOfProcessors; return count; }
c++检测cpu内核的数目
猜你喜欢
转载自www.cnblogs.com/daggex/p/10204058.html
今日推荐
周排行