Definition at line 41 of file Config.h.
#include <RooFit/MultiProcess/Config.h>
◆ QueueType
◆ getQueueType()
◆ setQueueType()
bool RooFit::MultiProcess::Config::Queue::setQueueType |
( |
QueueType |
queueType | ) |
|
|
static |
◆ setTaskPriorities()
void RooFit::MultiProcess::Config::Queue::setTaskPriorities |
( |
std::size_t |
job_id, |
|
|
const std::vector< std::size_t > & |
task_priorities |
|
) |
| |
|
static |
Set the priority for Job tasks in Priority queue mode.
Only useful in Priority queue mode, in FIFO mode this doesn't do anything. A higher value means a higher priority.
- Parameters
-
[in] | job_id | Job ID to set task order for. |
[in] | task_priorities | Task priority values, where vector index equals task ID. |
Definition at line 119 of file Config.cxx.
◆ suggestTaskOrder()
void RooFit::MultiProcess::Config::Queue::suggestTaskOrder |
( |
std::size_t |
job_id, |
|
|
const std::vector< Task > & |
task_order |
|
) |
| |
|
static |
Set the desired order for executing tasks of a Job in Priority queue mode.
Only useful in Priority queue mode, in FIFO mode this doesn't do anything.
Translates the desired order to priorities. Because workers will start stealing work immediately after it has been queued, the desired order cannot be guaranteed – hence "suggest" – because the first queued task will possibly be taken before higher priority tasks have been sent to the queue.
- Parameters
-
[in] | job_id | Job ID to set task order for. |
[in] | task_order | Task IDs in the desired order. |
Definition at line 138 of file Config.cxx.
◆ queueType_
The documentation for this struct was generated from the following files: