Main Content

TotalExecutionTimeInTicks

Get total number of timer ticks recorded for profiled code section (MATLAB code generation)

    Description

    example

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

    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.TotalExecutionTimeInTicks;

    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.

    Introduced in R2012b