Main Content

MaximumTurnaroundTimeInTicks

Get maximum number of timer ticks between start and finish of a single invocation of profiled code section

Description

MaxTurnaroundTicks = NthSectionProfile.MaximumTurnaroundTimeInTicks returns the maximum number of timer ticks recorded between the start and finish of a single invocation of the profiled code section during a simulation. Unless the code is pre-empted, this is the same as the maximum execution time.

example

Examples

collapse all

To get the call number in which the maximum number of timer ticks was recorded, use the MaximumTurnaroundTimeInTicks property of the NthSectionProfile object.

MaxTurnaroundTicks = NthSectionProfile.MaximumTurnaroundTimeInTicks;

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 MaxTurnaroundTicks is the maximum number of timer ticks between start and finish of a single invocation of profiled code section.

Version History

Introduced in R2012b