optCPU: Determine optimal number of cpus

Description Usage Arguments Note Author(s) See Also Examples

View source: R/Misc_Exported.R

Description

Determine optimal number of cpus

Usage

1
2
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

Note

See relevant section of the DLMtool User Guide for more information.

Author(s)

A. Hordyk

See Also

setup

Examples

1
2
3
4
## Not run: 
optCPU()

## End(Not run)

DLMtool documentation built on Sept. 11, 2018, 5:06 p.m.