Skip to content

Commit

Permalink
#1838: lb: add getModeledComm to composed model
Browse files Browse the repository at this point in the history
  • Loading branch information
cz4rs committed Aug 4, 2022
1 parent b758bfa commit 73418b2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/vt/vrt/collection/balance/model/composed_model.cc
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,11 @@ ComposedModel::getModeledLoad(ElementIDStruct object, PhaseOffset when) {
return base_->getModeledLoad(object, when);
}

TimeType
ComposedModel::getModeledComm(ElementIDStruct object, PhaseOffset when) {
return base_->getModeledComm(object, when);
}

bool ComposedModel::hasRawLoad() const {
return base_->hasRawLoad();
}
Expand Down
1 change: 1 addition & 0 deletions src/vt/vrt/collection/balance/model/composed_model.h
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ class ComposedModel : public LoadModel
void updateLoads(PhaseType last_completed_phase) override;

TimeType getModeledLoad(ElementIDStruct object, PhaseOffset when) override;
TimeType getModeledComm(ElementIDStruct object, PhaseOffset when) override;
bool hasRawLoad() const override;
TimeType getRawLoad(ElementIDStruct object, PhaseOffset when) override;
unsigned int getNumPastPhasesNeeded(unsigned int look_back) override;
Expand Down

0 comments on commit 73418b2

Please sign in to comment.