Main Content

NumCalls

Total number of calls to profiled code section

Syntax

TotalNumCalls = NthSectionProfile.NumCalls

Description

TotalNumCalls = NthSectionProfile.NumCalls returns the total number of calls to the profiled code section over the entire simulation.

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

Output Arguments

TotalNumCalls

Total number of calls

Introduced in R2012b