Get and set number of timer ticks per second
timerTicksPerSecVal
= myExecutionProfile
.TimerTicksPerSecond
myExecutionProfile
.TimerTicksPerSecond
= timerTicksPerSecVal
returns
the number of timer ticks per second. For example, if the timer runs
at 1 MHz, then the number of ticks per second is 106.timerTicksPerSecVal
= myExecutionProfile
.TimerTicksPerSecond
sets the
number of timer ticks per second. Use this method if the target connectivity
configuration does not specify this value.myExecutionProfile
.TimerTicksPerSecond
= timerTicksPerSecVal
myExecutionProfile
is a workspace
variable that you create using getCoderExecutionProfile
.
Tip
You can calculate the execution time in seconds using the formula .
|
Number of timer ticks per second |
|
Number of timer ticks per second |
ExecutionTimeInTicks
| getCoderExecutionProfile
| MaximumExecutionTimeCallNum
| MaximumExecutionTimeInTicks
| MaximumSelfTimeCallNum
| MaximumSelfTimeInTicks
| MaximumTurnaroundTimeCallNum
| MaximumTurnaroundTimeInTicks
| Name
| Number
| NumCalls
| report
| Sections
| SelfTimeInTicks
| TotalExecutionTimeInTicks
| TotalSelfTimeInTicks
| TotalTurnaroundTimeInTicks
| TurnaroundTimeInTicks