[ Programing ]/C++

CPU 갯수 알아오기

Mister_Q 2013. 5. 21. 23:58

SYSTEM_INFO systemInfo;
GetSystemInfo(&systemInfo); 
   

// Cpu 갯수만큼 생성  
 for(int i=0; i<(int)systemInfo.dwNumberOfProcessors; i++)

{   

} 

 

 

 

[출처] CPU 갯수 알아오기 |작성자 핵이

저작자표시 비영리 동일조건 (새창열림)