Main Content

MaximumTurnaroundTimeCallNum

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

Description

example

MaxTurnaroundTicksCallNum = NthSectionProfile.MaximumTurnaroundTimeCallNum returns the call number in which the maximum number of timer ticks was recorded between 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.

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