Get the average processor loading for the running application.
None (Main library). (See Section 2.3, “Licensed Features”.)
Determines the load on the main processor over the last 50 milliseconds and the maximum load since the ECU was powered on (or last reset).
The load is calculated as the time used by any running task or interrupt over a 50 millisecond window, expressed as a percentage. The calculation is an estimate as the 50 millisecond window can extend over a wider duration if the processor is heavily loaded. As the 50 millisecond window does not synchronise with the model rate tasks, some aliasing can occur as well (for instance, one 50 millisecond window may contain only a small percentage of work done by the model, while another window may contain a higher percentage).
There is no provision to change the window duration for the loading calculation.
The processor loading over the last 50 milliseconds or the maximum processor loading seen since the ECU powered on (or reset). Under simulation, if the Provide simulation inports parameter isn't ticked, the outport is set to the minimum of its range.
Range: [0, 100] %