Description Usage Details Value See Also Examples
This function reports the total core number in CPU on the machine.
1 | coreNum()
|
This function is a wrapper for the C++ function std::thread::hardware_concurrency(); If core number is not detected, 0 will be returned. See "See Also" for details.
an integer indicating the total number of cores in CPU.
http://www.cplusplus.com/reference/thread/thread/hardware_concurrency/
1 | num = coreNum()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.