Get array of
coder.profile.ExecutionTimeSection objects for
profiled code sections (MATLAB code generation)
Get Nth Section Profile
Nth profiled code section.
NthSectionProfile = myExecutionProfile.Sections(N);
Get Number of Profiled Code Sections
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
Index of code section for which profile data is required.
NthSectionProfile — profile information object
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 section.
Number— Number of the code section.
NumCalls— Number of calls to the code section.
TotalExecutionTimeInTicks— Total number of timer ticks recorded for the code section over the entire simulation.
TurnaroundTimeInTicks— Time between start and finish of the code section, in timer ticks.
TotalTurnaroundTimeInTicks— Total number of timer ticks between start and finish of the code section, over the entire simulation.
MaximumExecutionTimeInTicks— Maximum number of timer ticks for a single invocation of the code section.
MaximumExecutionTimeCallNum— Number of call associated with the maximum number of timer ticks recorded for a single invocation of the code section.
MaximumTurnaroundTimeInTicks— Maximum number of ticks between start and finish for a single invocation.
MaximumTurnaroundTimeCallNum— Number of call associated with the maximum time between start and finish of a single invocation.
MaximumSelfTimeInTicks— 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
Number of code sections with profile data
Introduced in R2012b