wrench::ComputeAction

class ComputeAction : public wrench::Action

A class that implements a compute action.

Public Functions

double getFlops() const

Returns the action’s flops.

Returns:

a number of flops

virtual unsigned long getMaxNumCores() const override

Returns the action’s maximum number of required cores.

Returns:

a number of cores

virtual unsigned long getMinNumCores() const override

Returns the action’s minimum number of required cores.

Returns:

a number of cores

virtual sg_size_t getMinRAMFootprint() const override

Returns the action’s minimum required memory footprint.

Returns:

a number of bytes

std::shared_ptr<ParallelModel> getParallelModel() const

Returns the action’s parallel model.

Returns:

a parallel model