Function realtime_tools::get_number_of_available_processors
Defined in File realtime_helpers.hpp
Function Documentation
-
int64_t realtime_tools::get_number_of_available_processors()
Method to get the amount of available cpu cores https://man7.org/linux/man-pages/man3/sysconf.3.html https://stackoverflow.com/a/150971
- Returns:
The number of processors currently online (available)