Get array of
coder.profile.ExecutionTimeSection objects for
profiled code sections (MATLAB code generation)
Nth profiled code section.
NthSectionProfile = myExecutionProfile.Sections(N);
Get the number of code sections for which profile data is available.
numberOfSections = length(myExecutionProfile.Sections)
myExecutionProfile— Workspace variable created by
myExecutionProfile is a workspace variable that you create by
N— Index of code section
Index of code section for which profile data is required.
NthSectionProfile— profile information object
Object that contains profile information about the code section. You can use the
coder.profile.ExecutionTimeSection methods to retrieve the
Name — Name of the code
Number — Number of the code
NumCalls — Number of calls to
the code section.
Total number of timer ticks recorded for the code section over the entire
TurnaroundTimeInTicks — Time
between start and finish of the code section, in timer ticks.
Total number of timer ticks between start and finish of the code section, over the
Maximum number of timer ticks for a single invocation of the code section.
Number of call associated with the maximum number of timer ticks recorded for a
single invocation of the code section.
Maximum number of ticks between start and finish for a single invocation.
Number of call associated with the maximum time between start and finish of a single
Maximum self time, in timer ticks.
SelfTimeInTicks — Self time
for the code section, in timer ticks.
TotalSelfTimeInTicks — Total
self time for the code section, over the entire simulation.
MaximumSelfTimeCallNum — Call
associated with maximum self time.
ExecutionTimeInTicks — Vector
of execution times.
numberOfSections— Number of code sections
Number of code sections with profile data