Get execution times in timer ticks for profiled section of code (MATLAB code generation)
returns a vector of execution times, measured in timer ticks, for the profiled section
of code. Each element of
ExecutionTimes contains the difference
between the timer reading at the start and the end of the section. The data type of the
arrays is the same as the data type of the timer used on the target, which allows you to
infer the maximum range of the timer measurements.
To get a vector of execution times, measured in timer ticks, for
the profiled section of code, use the
property of the
ExecutionTimes = NthSectionProfile.ExecutionTimeInTicks
NthSectionProfile is a
coder.profile.ExecutionTimeSection object generated by the
ExecutionTimes— Vector of execution times
SelfExecutionTimes is a vector of execution times, in
timer ticks, for profiled section of code.