How to view the device cores and devices

Source: Internet
Author: User

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.




Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.