Skip to content

Commit

Permalink
#1838: lb: add getModeledWork to composed model
Browse files Browse the repository at this point in the history
  • Loading branch information
cz4rs committed Nov 8, 2022
1 parent 44d898a commit 49d552e
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 @@ -64,6 +64,11 @@ ComposedModel::getModeledComm(ElementIDStruct object, PhaseOffset when) {
return base_->getModeledComm(object, when);
}

TimeType
ComposedModel::getModeledWork(ElementIDStruct object, PhaseOffset when) {
return base_->getModeledWork(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 @@ -71,6 +71,7 @@ class ComposedModel : public LoadModel

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

0 comments on commit 49d552e

Please sign in to comment.