|
ML Version of the Day
|
Class to count flops. More...
#include <MLAPI_CompObject.h>

Public Member Functions | |
| CompObject () | |
| Constructor, set counter to 0.0. | |
| ~CompObject () | |
| Destructor. | |
| double | GetFlops () const |
| Returns the internal counter of flops. | |
| void | SetFlops (double Flops) const |
Sets internal counter to Flops. | |
| void | UpdateFlops (double Flops) const |
Updates internal counter by summing Flops. | |
Class to count flops.
|
inline |
Returns the internal counter of flops.
Referenced by MLAPI::LoadBalanceOperator::Print(), MLAPI::MultiLevelAdaptiveSA::Print(), MLAPI::MultiLevelSA::Print(), MLAPI::MultiVector::Print(), MLAPI::Operator::Print(), MLAPI::MultiLevelAdaptiveSA::SolveMultiLevelSA(), and MLAPI::MultiLevelSA::SolveMultiLevelSA().
|
inline |
Sets internal counter to Flops.
Referenced by MLAPI::MultiLevelAdaptiveSA::SolveMultiLevelSA(), and MLAPI::MultiLevelSA::SolveMultiLevelSA().
|
inline |
Updates internal counter by summing Flops.
Referenced by MLAPI::LoadBalanceOperator::Apply(), MLAPI::Operator::Apply(), MLAPI::MultiVector::DotProduct(), MLAPI::MultiVector::Norm2(), MLAPI::MultiVector::Reciprocal(), MLAPI::MultiVector::Scale(), MLAPI::MultiLevelAdaptiveSA::SolveMultiLevelSA(), MLAPI::MultiLevelSA::SolveMultiLevelSA(), MLAPI::MultiVector::Update(), and MLAPI::MultiVector::Update().