wrench::ConstantEfficiencyParallelModel

class ConstantEfficiencyParallelModel : public wrench::ParallelModel

A class the implemens a constant-efficiency parallel task performance model.

Public Functions

double getEfficiency() const

Get the model’s parallel efficiency.

Returns:

a parallel efficiency (a number between 0.0 and 1.0)

void setEfficiency(double efficiency)

Set the model’s parallel efficiency.

Parameters:

efficiency – a parallel efficiency (a number between 0.0 and 1.0)