How to view the device cores and devices
How to view the device cores by Wu xueying
-(Void) viewDidLoad {[super viewDidLoad]; NSLog (@ "% d", countOfCores ();} unsigned int countOfCores () {unsigned int ncpu; size_t len = sizeof (ncpu); sysctlbyname ("hw. ncpu ", & ncpu, & len, NULL, 0); return ncpu ;}
How can I check whether the computer configuration is several cores?
Call you a simple method
Press ctrl + shift + Esc to bring up the task manager and select performance-> View-> CPU record-> click "One chart for each CPU". Then, let's see how many cores are displayed in the following charts.
Second: right-click "my computer" and choose "manage"-"Device Manager-" to expand the "processor" project. Because each core is considered a processor, you can see the number of processors here. just how many cores I have. For example, I have three cores.
How many cores does the CPU have?
Method 1: Right-click the task bar and choose open Task Manager> Performance
Check the "CPU usage record". There are several independent CPU usage records by several kernels (for example, my dual-core computer)
Method 2.
In WINDOWS, check the Device Manager.