10 #ifndef WRENCH_AMDAHLPARALLELMODEL_H
11 #define WRENCH_AMDAHLPARALLELMODEL_H
13 #include "wrench/workflow/parallel_model/ParallelModel.h"
32 std::vector<double>
getWorkPerThread(
double total_work,
unsigned long num_threads)
override;
51 #endif //WRENCH_AMDAHLPARALLELMODEL_H
double getAlpha()
Get the.
Definition: AmdahlParallelModel.cpp:38
std::vector< double > getWorkPerThread(double total_work, unsigned long num_threads) override
Returns the amount of work each thread much perform.
Definition: AmdahlParallelModel.cpp:48
A virtual class (with convenient static methods) to define parallel task performance models.
Definition: ParallelModel.h:23
A class that defines an Amdahl's Law-based parallel task performance model.
Definition: AmdahlParallelModel.h:22