User`s guide

Real-Time Execution Profiling
Real-Time Execution Profiling
In this section...
“Overview” on page 4-11
“Proling Execution by Tasks” on page 4-12
“Proling Execution By Subsystems” on page 4-14
Overview
Real-time execution proling in Em bedded IDE Link CC sof twa r e uses a set
of utiliti es to support proling for synchronous and asynchronous tasks, or
atomic subs ystem s, in your generated code. These utilitie s record, upload, and
analyze the execution prole data.
Execution proler supports proling your code two ways:
Tasks—Prole your project according to the tasks in the code.
Atomic subsystems—Prole your project according to the atomic
subsystems in your model.
Note To perform execution proling, you mu st generate your project from a
model in Simulink modeling env ironment.
When you enable proling, you select wh eth er to prole by task or subsystem.
To prole by subsystems, you must congure your mod el with a t least one
atomic subsyste m. To learn more about creating atomic subsystems, refer to
“Creating Subsystems” in the online help for Simulink software.
The proler generates output in the following formats:
Graphical d isplay that shows t ask or subsystem activation, preemption,
resumption, and completion. All data appears in a MATLAB graphic with
the data notated by model rates or subsystems and execution time.
4-11