Main Content

MaximumSelfTimeInTicks

Get the maximum number of timer ticks recorded for profiled code section, excluding time spent in child functions

Description

example

MaxSelfTicks = NthSectionProfile.MaximumSelfTimeInTicks returns the maximum number of timer ticks recorded for the profiled code section. This number excludes the time spent in calls to child functions.

Examples

collapse all

To get the maximum number of timer ticks recorded for the profiled code section, use the MaximumSelfTimeInTicks property of the NthSectionProfile object.

MaxSelfTicks = NthSectionProfile.MaximumSelfTimeInTicks;

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 MaxSelfTicks is the maximum number of timer ticks for profiled code section, excluding periods in child functions.

Version History

Introduced in R2012b