R/meanr.nthreads.r

Defines functions meanr.nthreads

Documented in meanr.nthreads

#' meanr.nthreads
#' 
#' Returns the number of cores + hyperthreads on the system.  The function
#' respects the environment variable \code{OMP_NUM_THREADS}.
#' 
#' @return
#' The number of cores + hyperthreads on the system (an integer).
#' 
#' @useDynLib meanr R_meanr_nthreads
#' @export
meanr.nthreads = function()
{
  .Call(R_meanr_nthreads)
}
wrathematics/meanr documentation built on Jan. 28, 2024, 12:14 p.m.