Main Content

TotalExecutionTimeInTicks

Get total number of timer ticks recorded for profiled code section

Description

TotalTicks = NthSectionProfile.TotalExecutionTimeInTicks returns the total number of timer ticks recorded for the profiled code section over the entire simulation.

example

Examples

collapse all

To get a value for execution time, measured in timer ticks, for the profiled section of code, use the TotalTicks property of the NthSectionProfile object.

TotalTicks = NthSectionProfile.TotalTicks;

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 TotalTicks is the total number of timer ticks for profiled code section.

Version History

Introduced in R2012b