Main Content

Streaming Task Profiling

Use task profiler to measure the timing of the interrupts on the TI C2000™ processor. To profile interrupt timing, follow these steps.

  1. Create or open a C2000 Microcontroller Blockset model.

  2. On the Hardware tab, click Hardware Settings.

  3. On the Code Generation > Verification > Code execution time profiling pane, select Measure task execution time. Close the Configuration Parameters window.

  4. On the Hardware tab, enable interrupt profiling by clicking Profile Tasks.

    Task-profiling

  5. Run the model on the hardware board by clicking Monitor & Tune.

  6. When the run completes, open the Simulation Data Inspector to see the data signals and the interrupts on the C2000 Microcontroller Blockset processor. This figure shows a sample of the expected interrupt data shown. For more information on tasks in the Simulation Data Inspector, see Task Visualization in Simulation Data Inspector (SoC Blockset).

    Simulation Data Inspector view of interrupts

  7. Using the data collected in the Simulation Data Inspector, you can use the Task Execution Report (SoC Blockset) tool to generate an aggregation of the timing data from the interrupts.

See Also

(SoC Blockset) |