coreNum: CPU core number

Description Usage Details Value See Also Examples

Description

This function reports the total core number in CPU on the machine.

Usage

1

Details

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.

Value

an integer indicating the total number of cores in CPU.

See Also

http://www.cplusplus.com/reference/thread/thread/hardware_concurrency/

Examples

1
num = coreNum()

Emcdf documentation built on May 2, 2019, 1:47 p.m.

Related to coreNum in Emcdf...