Definition of a small chunk of work. Used to communicate workload between different LoadManager instances.
More...
#include <LoadManager.hpp>
|
| Chunk () |
| Construct an empty work chunk.
|
|
| Chunk (const int stackId, const int begin, const int end) |
| Construct a work chunk for a specific workload. More...
|
|
bool | isVoid () const |
| Check of the workload is empty.
|
|
bool | operator== (const Chunk &rhs) const |
| Comparison operator.
|
|
bool | operator!= (const Chunk &rhs) const |
| Negative comparison operator.
|
|
|
int | properties [3] |
| Workload specification. First value describes the stack id, second value describes the first element of the workload, and the third value the last element of the workload.
|
|
Definition of a small chunk of work. Used to communicate workload between different LoadManager instances.
◆ Chunk()
HMP::LoadManager::Chunk::Chunk |
( |
const int |
stackId, |
|
|
const int |
begin, |
|
|
const int |
end |
|
) |
| |
|
inline |
Construct a work chunk for a specific workload.
- Parameters
-
stackId | Id of the stack that the work should be performed on. |
begin | Index of the first element whose calculator should be invoked. |
end | Index of the last element whose calculator should be invoked. |
The documentation for this struct was generated from the following file: