Skip to content

Commit

Permalink
#1672: document getTotalWork method
Browse files Browse the repository at this point in the history
  • Loading branch information
cz4rs committed Mar 16, 2022
1 parent ec715b7 commit 7293993
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/vt/vrt/collection/balance/model/load_model.h
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,18 @@ struct LoadModel
return {};
}

/**
* \brief Provide an estimate of the total work for a given object during
* a specified interval
*
* \param[in] object The object whose total work is desired
* \param[in] when The interval in which the work takes place
*
* \return Estimated total time of work for the object
*
* The `updateLoads` method must have been called before any call to
* this.
*/
TimeType getTotalWork(
ElementIDStruct object, PhaseOffset when,
double alpha, double beta, double gamma
Expand Down

0 comments on commit 7293993

Please sign in to comment.