Learn R Programming

RHPCBenchmark (version 0.1.0)

GetNumberOfThreads: Retrieves the number of threads from the environment

Description

GetNumberOfThreads retrieves from the environment the number of threads kernels are intended to be executed with

Usage

GetNumberOfThreads()

Arguments

Value

the number of threads retrieved from the environment

Details

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.