Main Content

TotalTurnaroundTimeInTicks

Get total number of timer ticks between start and finish of the profiled code section over the entire simulation

Description

example

TotalTurnaroundTicks = NthSectionProfile.TotalTurnaroundTimeInTicks returns the total number of timer ticks recorded between the start and finish of the profiled code section over the entire simulation. Unless the code is pre-empted, this is the same as the total execution time.

Examples

collapse all

To get the total number of timer ticks recorded for turnaround time, use the TotalTurnaroundTimeInTicks property of the NthSectionProfile object.

TotalTurnaroundTicks = NthSectionProfile.TotalTurnaroundTimeInTicks;

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 TotalTurnaroundTicks is the total number of timer ticks between start and finish of the profiled code section over the entire simulation.

Introduced in R2012b