13 #ifndef HERMES_SRC_DPE_MINIMIZE_IO_TIME_H_
14 #define HERMES_SRC_DPE_MINIMIZE_IO_TIME_H_
16 #include "data_placement_engine.h"
30 const std::vector<u64> &node_state,
31 const std::vector<TargetID> &targets,
33 std::vector<PlacementSchema> &output);
37 size_t AbsDiff(
size_t x,
size_t y,
bool &y_gt_x);
39 void PlaceBytes(
size_t j, ssize_t bytes, std::vector<size_t> &vars_bytes,
40 const std::vector<u64> &node_state);
Definition: hermes_status.h:80
Definition: data_placement_engine.h:35
Definition: minimize_io_time.h:22
Status Placement(const std::vector< size_t > &blob_sizes, const std::vector< u64 > &node_state, const std::vector< TargetID > &targets, const api::Context &ctx, std::vector< PlacementSchema > &output)
Definition: minimize_io_time.cc:21
void PlaceBytes(size_t j, ssize_t bytes, std::vector< size_t > &vars_bytes, const std::vector< u64 > &node_state)
Definition: minimize_io_time.cc:135
size_t AbsDiff(size_t x, size_t y, bool &y_gt_x)
void GetPlacementRatios(const std::vector< u64 > &node_state, const api::Context &ctx)
Definition: minimize_io_time.cc:159
std::vector< double > placement_ratios_
Definition: minimize_io_time.h:24
Definition: adapter_utils.cc:35
Definition: hermes_types.h:137