Main Content

Task Profiling on Processor

Show in SDI

Show the task execution data collected on a processor in the Simulation Data Inspector (SDI) application. For more information on visualizing tasks in the SDI application, see Task Visualization in Simulation Data Inspector.

Default: off

Save to file

Save task execution data to a file. For more information on recording task execution data, see Recording Tasks for Use in Simulation.

Default: off

Overwrite file

Overwrite the last task execution data file. For more information on recording task execution data, see Recording Tasks for Use in Simulation.

Default: off

Instrumentation

Choose the instrumentation method using which task execution data has to be collected from processor to display on SDI. For more information, see Kernel Instrumentation Profiler and Code Instrumentation Profiler.

Default: Code

Profiling duration

Choose the profiling duration for Kernel profiling.

If you select Kernel to specify Kernel profiling, set Profiling duration to Unlimited or Limited.

  • Unlimited — This option performs Kernel profiling on the hardware and streams it to the host PC for an unlimited time duration. Kernel profiling for an unlimited time duration on hardware with low free disk storage or a model with high task rates can result in packet loss of profiling data streamed from the hardware. This packet loss depends on the free memory available on the host PC on which you run MATLAB.

  • Limited — This option performs Kernel profiling on the hardware and streams it to host PC for a limited time duration. Kernel profiling for a limited time duration on hardware does not result in packet loss of profiling data streamed from hardware. The maximum time duration for limited Kernel profiling depends on the RAM and free disk storage available on the hardware board on which Kernel profiling is performed.

Default: Unlimited