Main Content


Get total number of timer ticks recorded for profiled code section



TotalTicks = NthSectionProfile.TotalExecutionTimeInTicks returns the total number of timer ticks recorded for the profiled code section over the entire simulation.


collapse all

To get a value for execution time, measured in timer ticks, for the profiled section of code, use the TotalTicks property of the NthSectionProfile object.

TotalTicks = NthSectionProfile.TotalTicks;

Input Arguments

collapse all

The NthSectionProfile is a coder.profile.ExecutionTimeSection object generated by the coder.profile.ExecutionTime property Sections.

Example: NthSectionProfile

Output Arguments

collapse all

The TotalTicks is the total number of timer ticks for profiled code section.

Introduced in R2012b