10 #ifndef WRENCH_CONSTANTEFFICIENCYPARALLELMODEL_H
11 #define WRENCH_CONSTANTEFFICIENCYPARALLELMODEL_H
13 #include "wrench/workflow/parallel_model/ParallelModel.h"
32 std::vector<double>
getWorkPerThread(
double total_work,
unsigned long num_threads)
override;
49 #endif //WRENCH_CONSTANTEFFICIENCYPARALLELMODEL_H
A virtual class (with convenient static methods) to define parallel task performance models.
Definition: ParallelModel.h:23
std::vector< double > getWorkPerThread(double total_work, unsigned long num_threads) override
Returns the amount of work each thread much perform.
Definition: ConstantEfficiencyParallelModel.cpp:45
A class the implemens a constant-efficiency parallel task performance model.
Definition: ConstantEfficiencyParallelModel.h:22
double getEfficiency()
Get the model's parallel efficiency.
Definition: ConstantEfficiencyParallelModel.cpp:35