TurnaroundTimeInTicks - Get number of timer ticks between start and finish of the profiled code

     section - MATLAB ([original](https://www.mathworks.com/help/ecoder/ref/coder.profile.executiontimesection.turnaroundtimeinticks.html)) ([raw](?raw))

Main Content

Get number of timer ticks between start and finish of the profiled code section

Syntax

Description

[TurnaroundTicks](#mw%5Faea2d49b-7a84-4573-b509-67c831610529) = [NthSectionProfile](#mw%5F1a9ff3ff-561b-4565-b396-f7ce32b7d0b7).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 theNthSectionProfile object.

TurnaroundTicks = NthSectionProfile.TurnaroundTimeInTicks;

Input Arguments

collapse all

The NthSectionProfile is acoder.profile.ExecutionTimeSection object generated by thecoder.profile.ExecutionTime propertySections.

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