R/sylcount.nthreads.r

Defines functions sylcount.nthreads

Documented in sylcount.nthreads

#' sylcount.nthreads
#' 
#' Returns the number of cores + hyperthreads on the system.  The function
#' respects the environment variable \code{OMP_NUM_THREADS}.
#' 
#' @return
#' An integer; the number of threads.
#' 
#' @useDynLib sylcount R_sylcount_nthreads
#' @export
sylcount.nthreads = function()
{
  .Call(R_sylcount_nthreads)
}

Try the sylcount package in your browser

Any scripts or data that you put into this service are public.

sylcount documentation built on Nov. 4, 2022, 5:06 p.m.