Main Content

MaximumExecutionTimeInTicks

Get maximum number of timer ticks for single invocation of profiled code section (MATLAB code generation)

Description

example

MaxTicks = NthSectionProfile.MaximumExecutionTimeInTicks returns the maximum number of timer ticks recorded in a single invocation of the profiled code section during an execution.

Examples

collapse all

Get the maximum number of timer ticks recorded in a single invocation of the profiled code section.

MaxTicks = NthSectionProfile.MaximumExecutionTimeInTicks;

Input Arguments

collapse all

The NthSectionProfile is a coder.profile.ExecutionTimeSection object generated by the coder.profile.ExecutionTime property Sections.

Example: NthSectionProfile.MaximumExecutionTimeInTicks

Output Arguments

collapse all

The MaxTicks is the maximum number of timer ticks for single invocation of profiled code section.

Introduced in R2012b