Main Content

Execution Time

Output total execution time in Run in Kernel mode

  • Execution Time block

Libraries:
Simulink Desktop Real-Time / Target Profiling

Description

In Run in Kernel mode, this block outputs the execution time.

In Connected IO mode, this block does not perform any action. It outputs zeros.

Ports

Output

expand all

Presents the total execution time as of the previous sample time.

Presents the task execution times for individual sample rates in a multitasking model as of the previous sample time.

Dependency

When you select Measure task execution times, this port is visible.

Parameters

expand all

Makes visible the port Task Exec Time, which presents the task execution times for individual sample rates in a multitasking model as of the previous sample time.

Programmatic Use

Block Parameter: ShowTaskTimes

Version History

Introduced in R2017a