Class to handle PatchData owned by the node.
More...
#include <shamrock/include/shamrock/scheduler/SchedulerPatchData.hpp>
Class to handle PatchData owned by the node.
Definition at line 42 of file SchedulerPatchData.hpp.
◆ SchedulerPatchData()
◆ apply_change_list()
apply a load balancing change list to shuffle patchdata arround the cluster
- Parameters
-
Definition at line 100 of file SchedulerPatchData.cpp.
◆ for_each_patchdata()
| void shamrock::scheduler::SchedulerPatchData::for_each_patchdata |
( |
std::function< void(u64, PatchData &)> && | f | ) |
|
|
inline |
◆ get_layout_ptr()
◆ get_pdat()
| PatchData & shamrock::scheduler::SchedulerPatchData::get_pdat |
( |
u64 | id | ) |
|
|
inline |
◆ has_patch()
| bool shamrock::scheduler::SchedulerPatchData::has_patch |
( |
u64 | id | ) |
|
|
inline |
◆ merge_patchdata()
| void shamrock::scheduler::SchedulerPatchData::merge_patchdata |
( |
u64 | new_key, |
|
|
const std::array< u64, 8 > | old_keys ) |
merge 8 old patchdata into one
- Parameters
-
| new_key | new key to store the merge data in the map |
| old_keys | old patch ids |
Definition at line 360 of file SchedulerPatchData.cpp.
◆ pdl()
◆ split_patchdata()
| void shamrock::scheduler::SchedulerPatchData::split_patchdata |
( |
u64 | key_orginal, |
|
|
const std::array< shamrock::patch::Patch, 8 > | patches ) |
split a patchdata into 8 childs according to the 8 patches in arguments
- Parameters
-
| key_orginal | key of the original patchdata |
| patches | the patches |
Definition at line 302 of file SchedulerPatchData.cpp.
◆ owned_data
map container for patchdata owned by the current node (layout : id_patch,data)
Definition at line 58 of file SchedulerPatchData.hpp.
◆ pdl_ptr
| std::shared_ptr<PatchDataLayerLayout> shamrock::scheduler::SchedulerPatchData::pdl_ptr |
◆ sim_box
The documentation for this class was generated from the following files: