Get execution times in timer ticks for profiled section of code
ExecutionTimes
= NthSectionProfile
.ExecutionTimeInTicks
returns
a vector of execution times, measured in timer ticks, for the profiled
section of code. Each element of ExecutionTimes
= NthSectionProfile
.ExecutionTimeInTicksExecutionTimes
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.
NthSectionProfile
is a coder.profile.ExecutionTimeSection
object
generated by the coder.profile.ExecutionTime
property Sections
.
Tip
You can calculate the execution time in seconds using the formula
Alternatively, setTimerTicksPerSecond
and use ExecutionTimeInSeconds
.
|
Vector of execution times, in timer ticks, for profiled section of code |
ExecutionTimeInSeconds
| getCoderExecutionProfile
| MaximumExecutionTimeCallNum
| MaximumExecutionTimeInTicks
| MaximumSelfTimeCallNum
| MaximumSelfTimeInTicks
| MaximumTurnaroundTimeCallNum
| MaximumTurnaroundTimeInTicks
| Name
| Number
| NumCalls
| report
| Sections
| SelfTimeInTicks
| TimerTicksPerSecond
| TotalExecutionTimeInTicks
| TotalSelfTimeInTicks
| TotalTurnaroundTimeInTicks
| TurnaroundTimeInTicks