makemaxProcessor: makemaxProcessor

View source: R/helper_functions.R

makemaxProcessorR Documentation

makemaxProcessor

Description

Choose the number of processors for a simulation.

Usage

makemaxProcessor(
  maxProcessor,
  dta,
  TS,
  typeTS,
  TSextra,
  B,
  SuppressMessages = FALSE,
  useSingleProcessor = FALSE
)

Arguments

maxProcessor

maximum number of processors requested

dta

data set used for a timing check

TS

test-statistic routine

typeTS

test-statistic interface code

TSextra

additional information passed to TS

B

number of simulation runs

SuppressMessages

suppress informative messages?

useSingleProcessor

force a single processor, e.g. for a C++ custom TS

Value

an integer giving the number of processors to use


Rgof documentation built on Oct. 6, 2026, 1:06 a.m.