![]() |
Shamrock 2025.10.0
Astrophysical Code
|
Class to handle the patch list of the mpi scheduler. More...
#include "shambase/SourceLocation.hpp"#include "shambase/exception.hpp"#include "shamrock/patch/Patch.hpp"#include <nlohmann/json.hpp>#include <unordered_map>#include <unordered_set>#include <array>#include <stdexcept>#include <tuple>#include <vector>
Include dependency graph for scheduler_patch_list.hpp:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| class | SchedulerPatchList |
| Handle the patch list of the mpi scheduler. More... | |
Functions | |
| void | to_json (nlohmann::json &j, const SchedulerPatchList &p) |
| Serializes a SchedulerPatchList object to a JSON object. | |
| void | from_json (const nlohmann::json &j, SchedulerPatchList &p) |
| Deserializes a JSON object into a SchedulerPatchList object. | |
| std::vector< shamrock::patch::Patch > | make_fake_patch_list (u32 total_dtcnt, u64 div_limit) |
| generate a fake patch list corresponding to a tree structure | |
Class to handle the patch list of the mpi scheduler.
Definition in file scheduler_patch_list.hpp.
| void from_json | ( | const nlohmann::json & | j, |
| SchedulerPatchList & | p | ||
| ) |
Deserializes a JSON object into a SchedulerPatchList object.
| j | The JSON object to deserialize from. |
| p | The SchedulerPatchList object to deserialize into. |
Definition at line 244 of file scheduler_patch_list.cpp.
| std::vector< shamrock::patch::Patch > make_fake_patch_list | ( | u32 | total_dtcnt, |
| u64 | div_limit | ||
| ) |
generate a fake patch list corresponding to a tree structure
| total_dtcnt | total data count |
| div_limit | data count limit to split |
Definition at line 252 of file scheduler_patch_list.cpp.
| void to_json | ( | nlohmann::json & | j, |
| const SchedulerPatchList & | p | ||
| ) |
Serializes a SchedulerPatchList object to a JSON object.
| j | The JSON object to serialize to. |
| p | The SchedulerPatchList object to serialize. |
Definition at line 235 of file scheduler_patch_list.cpp.