You can profile the task execution time and function execution time of your real-time application running on the target computer. Using that information, you can then tune its performance.
Profiling is especially useful if the real-time application is configured to take advantage of multicore processors on the target computer. To profile the real-time application:
In the Configuration Parameters for the model, enable the collection of profile data during execution.
Build, download, and execute the model.
Display and evaluate the profile data.
Profiling slightly increases the execution time of the real-time application.