coreNum {Emcdf} | R Documentation |
This function reports the total core number in CPU on the machine.
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/
num = coreNum()