Task Visualization in Simulation Data Inspector

The Simulation Data Inspector (SDI) 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, creates a separate Run for the task execution timing and data. This image shows the SDI display with a Run captured from an SoC Blockset™ model.

Each Run contains these signal types:

  • taskname – The execution instance state for the task, with name taskname, defined in the Task Manager block. For more information on task execution states, see What is Task Execution?.

    Note

    If a task instance does not run to completion during the simulation time, the final task execution instance does not render in the SDI display.

  • taskname_drop – An impulse indicating the scheduler dropped an execution instance of task, taskname_drop. For more information on task drops, see Task Overruns and Countermeasures.

  • Core: n – Execution activity on core n of the simulated processor. For more information on multicore execution and visualization, see Multicore Execution and Core Visualization.

    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 SDI display.

See Also

|

Related Topics