ECpuUtilization

class ECpuUtilization : public EEnumBase<int>

Available methods for how the simulator process claims CPU time.

static ECpuUtilization Greedy

The simulator uses busy-waiting to fill idle time between calculation cycles to prevent the underlying OS from suspending the simulator process. The result is that each real-time thread claims all available calculation time of the CPU core it is deployed on, i.e. the most real-time performance achievable.

static ECpuUtilization Modest

The simulator releases the CPU core for the duration of the required idle time between calculation cycles, hence the underlying OS is able to suspend the simulator process. The result is a more modest CPU load compared to greedy utilization at the expense of real-time performance.

ECpuUtilization::ECpuUtilization(int val)
Parameters

val

static ECpuUtilization ECpuUtilization::Convert(uint32_t val)