Main Content

TurnaroundTimeInTicks

Get number of timer ticks between start and finish of the profiled code section (MATLAB code generation)

Description

TurnaroundTicks = NthSectionProfile.TurnaroundTimeInTicks returns the number of timer ticks recorded between the start and finish of the profiled code section. Unless the code is pre-empted, this is the same as the execution time.

example

Examples

collapse all

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

TurnaroundTicks = NthSectionProfile.TurnaroundTimeInTicks;

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 TurnaroundTicks is the number of timer ticks between start and finish of the profiled code section

Version History

Introduced in R2012b