coder.profile.ExecutionTimeSet - Aggregate code profiling results from multiple SIL, PIL, or external mode
simulations - MATLAB ([original](https://in.mathworks.com/help/ecoder/ref/coder.profile.executiontimeset.html)) ([raw](?raw))
Main Content
Aggregate code profiling results from multiple SIL, PIL, or external mode simulations
Since R2023b
Description
Use a coder.profile.ExecutionTimeSet
object for the aggregation of code profiling results from multiple software-in-the-loop (SIL), processor-in-the-loop (PIL), or XCP-based external mode simulations of a model. Then, you can use the Code Profile Analyzer to identify the most demanding execution for each task in generated code. You can also identify the code or model path that produces the most demanding execution.
Creation
Syntax
Description
`myResults` = coder.profile.ExecutionTimeSet([modelName](#mw%5F6ce62cd7-9e4a-4fe1-a4e8-31f38739035a));
creates an object for storing execution-time profiling results produced by multiple software-in-the-loop (SIL), processor-in-the-loop (PIL), or XCP-based external mode simulations of modelName
.
Input Arguments
Name of simulation model.
Properties
Specifies the number of longest task executions to consider for each model simulation.
Example: resultsObject.ResultsPerTest=10;
Object Functions
add | Aggregate execution-time profiles |
---|---|
addDetails | Add text items to Code Profile Analyzer display or code profiling report |
get | Extract specific execution-time profile from aggregate of profiles |
remove | Remove execution-time profile from aggregate of profiles |
Examples
Version History
Introduced in R2023b