Main Content

SelfTimeInTicks

Get number of timer ticks recorded for profiled code section, excluding time spent in child functions (MATLAB code generation)

Description

example

SelfTicks = NthSectionProfile.SelfTimeInTicks returns the number of timer ticks recorded for the profiled code section. However, this number excludes the time spent in calls to child functions.

Examples

collapse all

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

SelfTicks = NthSectionProfile.SelfTimeInTicks;

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

Introduced in R2012b