Skip to content

Commit

Permalink
#2299: Make getCollectiveEpochCost() a protected method
Browse files Browse the repository at this point in the history
  • Loading branch information
thearusable committed Sep 6, 2024
1 parent 215d87d commit 51670af
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/vt/vrt/collection/balance/baselb/baselb.h
Original file line number Diff line number Diff line change
Expand Up @@ -164,16 +164,6 @@ struct BaseLB {
bool isCommAware() const { return comm_aware_; }
void recvSharedEdges(CommMsg* msg);

/**
* \brief Get the estimated time needed for load balancing
*
* \return the estimated time
*/
double getCollectiveEpochCost() const {
// 100 ns
return 0.0000001;
}

protected:
void getArgs(PhaseType phase);

Expand All @@ -198,6 +188,16 @@ struct BaseLB {
std::shared_ptr<balance::LoadModel> model
);

/**
* \brief Get the estimated time needed for load balancing
*
* \return the estimated time
*/
double getCollectiveEpochCost() const {
// 100 ns
return 0.0000001;
}

private:
TransferVecType transfers_ = {};
TransferType off_node_migrate_ = {};
Expand Down

0 comments on commit 51670af

Please sign in to comment.