c++检测cpu内核的数目:

来源:互联网 发布:jquery动态数组 编辑:程序博客网 时间:2024/05/22 11:50

检测cpu内核的数目:

int CDomCheck::core_count(){    SYSTEM_INFO si;    GetSystemInfo(&si);    int count = si.dwNumberOfProcessors;    return count;}
原创粉丝点击