optCPU: Determine optimal number of cpus

View source: R/Misc_Exported.R

optCPUR Documentation

Determine optimal number of cpus

Description

Determine optimal number of cpus

Usage

optCPU(nsim = 96, thresh = 5, plot = TRUE, msg = TRUE, maxn = NULL)

Arguments

nsim

Numeric. Number of simulations.

thresh

Recommended n cpus is what percent of the fastest time?

plot

Logical. Show the plot?

msg

Logical. Should messages be printed to console?

maxn

Optional. Maximum number of cpus. Used for demo purposes

Author(s)

A. Hordyk

See Also

setup

Examples

## Not run: 
optCPU()

## End(Not run)

Blue-Matter/MSEtool documentation built on Nov. 22, 2024, 8:23 p.m.