getStartAndEndJobs: calculates the number of files to run on a hyperthread n_jobs...

View source: R/ggir_swarm.R

getStartAndEndJobsR Documentation

calculates the number of files to run on a hyperthread n_jobs (integer) n_cpu (integer) returns a list containing a vector of integers startIndex of jobs and a list of the endIndex of a job. This is INCLUSIVE.

Description

calculates the number of files to run on a hyperthread n_jobs (integer) n_cpu (integer) returns a list containing a vector of integers startIndex of jobs and a list of the endIndex of a job. This is INCLUSIVE.

Usage

getStartAndEndJobs(f0, f1, n_core, ht)

Arguments

f0
  • first index run

f1
  • last index run

n_core
  • number of cores requested

ht
  • true/false use hyperthreading?


episphere/biowR documentation built on Dec. 6, 2023, 1:44 a.m.