TotalExecutionTimeInTicks - Get total number of timer ticks recorded for profiled code section - MATLAB (original) (raw)

Get total number of timer ticks recorded for profiled code section

Syntax

Description

[TotalTicks](#mw%5Fe8ccf71d-bec6-41ad-9256-a2ebc48f6a59) = [NthSectionProfile](#mw%5Fb798cc5f-e117-4610-9cea-a5e2d1257e6e).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 theNthSectionProfile object.

TotalTicks = NthSectionProfile.TotalTicks;

Input Arguments

collapse all

The NthSectionProfile is acoder.profile.ExecutionTimeSection object generated by thecoder.profile.ExecutionTime propertySections.

Example: NthSectionProfile

Output Arguments

collapse all

The TotalTicks is the total number of timer ticks for profiled code section.

Version History

Introduced in R2012b