5.2.6. Memory use information

The platform software provides support for the application execution through the tasks identified above. Each of these tasks requires some memory to record its state and the platform does so dynamically by storing this information on the stack.

Table 5.21. Automatic ASAP2 entries for memory use information

ASAP2 nameDescriptionUnits
mpl_max_used_stackThe amount of stack used since power up by the application software.bytes

In the Sim-API, the size of the stack can be modified in the OpenECU RTW options. For instance, this might be necessary after testing shows that the average amount of used stack at run time is too large in comparison to the allocated stack size.