GetNumberOfThreads {RHPCBenchmark} | R Documentation |
GetNumberOfThreads
retrieves from the environment the number of
threads kernels are intended to be executed with
GetNumberOfThreads()
This function retrieves the number of threads kernels are intended to be microbenchmarked with. The number of threads is assumed to be stored in an environment variable which this function retrieves.
the number of threads retrieved from the environment