Task Visualization in Simulation Data Inspector
The Simulation Data Inspector display provides a direct view into the execution timing, the task state, and the execution of tasks in simulation and profiled from generated code running on hardware. Each model run, in simulation or on hardware using external mode adds task execution timing and data to the current Run. This image shows the Simulation Data Inspector display with a Run captured from an SoC Blockset™ model.
Each Run contains these task related signal types:
– The execution instance state for the task, with nametaskname
, defined in the Task Manager block. For more information on task execution states, see What is Task Execution?.taskname
Note
If a task instance does not run to completion during the simulation time, the final task execution instance does not render in the Simulation Data Inspector display.
– An impulse indicating the scheduler dropped an execution instance of task,taskname
_drop
. For more information on task drops, see Task Overruns and Countermeasures.taskname
_dropCore:
– Execution activity on coren
of the simulated processor. For more information on multicore execution and visualization, see Multicore Execution and Core Visualization.n
Note
If a task instance does not run to completion during the simulation time, the related core status over that instance does not render in the Simulation Data Inspector display.
See Also
Simulation Data Inspector | Task Manager