GetNumberOfThreads {RHPCBenchmark}R Documentation

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()

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.

Value

the number of threads retrieved from the environment


[Package RHPCBenchmark version 0.1.0 Index]