Main Content

SelfTimeInTicks

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

Syntax

SelfTicks = NthSectionProfile.SelfTimeInTicks

Description

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.

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

Output Arguments

SelfTicks

Number of timer ticks for profiled code section, excluding periods in child functions

Introduced in R2012b