wrench::CustomParallelModel

class CustomParallelModel : public wrench::ParallelModel

A class that defines a custom parallel task performance model.

Public Functions

virtual double getParallelPerThreadWork(double total_work, unsigned long num_threads) override

Returns the per-thread parallel amount of work.

Parameters:
  • total_work – total amount of work (in flops)

  • num_threads – number of threads

Returns:

an amount of work (in flops)

virtual double getPurelySequentialWork(double total_work, unsigned long num_threads) override

Returns the purely sequential amount of work.

Parameters:
  • total_work – total amount of work (in flops)

  • num_threads – number of threads

Returns:

an amount of work (in flops)