Main Content

MaximumTurnaroundTimeCallNum

Get call number for the code section invocation with the maximum number of timer ticks between the start and the finish (MATLAB code generation)

Description

example

MaxTurnaroundTicksCallNum = NthSectionProfile.MaximumTurnaroundTimeCallNum returns the call number in which the maximum number of timer ticks is recorded between the start and the finish of an invocation of the profiled code section. Unless the code is pre-empted, this is the same as the maximum execution time.

Examples

collapse all

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

MaxTurnaroundTicksCallNum = NthSectionProfile.MaximumTurnaroundTimeCallNum;

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

Version History

Introduced in R2012b