22namespace MultiProcess {
70 printf(
"Warning: Config::setDefaultNWorkers cannot set number of workers after JobManager has been instantiated!\n");
71 }
else if (N_workers == 0) {
72 printf(
"Warning: Config::setDefaultNWorkers cannot set number of workers to zero.\n");
81 printf(
"Warning: Config::setTimingAnalysis cannot set logging of timings, forking has already taken place!\n");
100 printf(
"Warning: cannot set RooFit::MultiProcess queue type after JobManager has been instantiated!\n");
121 if (queueType_ == QueueType::Priority) {
140 if (queueType_ == QueueType::Priority) {
static void setDefaultNWorkers(unsigned int N_workers)
static bool getTimingAnalysis()
static unsigned int defaultNWorkers_
static unsigned int getDefaultNWorkers()
static bool timingAnalysis_
static void setTimingAnalysis(bool timingAnalysis)
static JobManager * instance()
static bool is_instantiated()
Queue that orders tasks according to specified task priorities.
The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs (or othe...
static std::size_t defaultNComponentTasks
static constexpr std::size_t automaticNEventTasks
static constexpr std::size_t automaticNComponentTasks
static std::size_t defaultNEventTasks
static void suggestTaskOrder(std::size_t job_id, const std::vector< Task > &task_order)
Set the desired order for executing tasks of a Job in Priority queue mode.
static QueueType queueType_
static QueueType getQueueType()
static bool setQueueType(QueueType queueType)
static void setTaskPriorities(std::size_t job_id, const std::vector< std::size_t > &task_priorities)
Set the priority for Job tasks in Priority queue mode.