|
@ -54,6 +54,7 @@ inline void to_json(nlohmann::json& j, const TaskData& a) { |
|
|
|
|
|
|
|
|
inline void from_json(const nlohmann::json& j, TaskData& a) { |
|
|
inline void from_json(const nlohmann::json& j, TaskData& a) { |
|
|
j["task"]["size"].get_to(a.size); |
|
|
j["task"]["size"].get_to(a.size); |
|
|
|
|
|
j["task"]["iterations"].get_to(a.rep_count); |
|
|
j["task"]["batching"]["batch_submit"].get_to(a.batch_submit); |
|
|
j["task"]["batching"]["batch_submit"].get_to(a.batch_submit); |
|
|
j["task"]["batching"]["batch_size"].get_to(a.batch_size); |
|
|
j["task"]["batching"]["batch_size"].get_to(a.batch_size); |
|
|
j["affinity"]["node"].get_to(a.numa_node); |
|
|
j["affinity"]["node"].get_to(a.numa_node); |
|
|