Periodic Trigger Execution

This MotoHawk™ block allows the application to recover periodic trigger group execution metrics that are installed via the Global Periodic Trigger Slip and Execution Metric Definition block.

Block ID

Get Periodic Trigger Execution

Library

motohawk_tasking_lib/Trigger Blocks

Description

This MotoHawk™ block allows the application to recover periodic trigger group execution metrics that are installed via the Global Periodic Trigger Slip and Execution Metric Definition block. The Calculate Execution Metrics option of the Global Periodic Trigger Slip and Execution Metric Definition block must be checked before this block can be used to recover execution metrics. This block will error if the Target does not support periodic trigger execution metrics or the Calculate Execution Metrics option has not been checked.

Execution Time is measured from when the trigger first begins to physically execute until the work is completed. Pre-emption by other higher priority execution is included in the measured execution time. The figure illustrates.

Block Parameters

Defn

Parameter Field Values Comments/Description
Reference Task Single quote enclosed alpha-numeric The name of the Task that the periodic trigger group executes within. A 5ms periodic trigger group that executes in (say) the FGNDTask is not the same periodic trigger group as a 5ms trigger that executes in (say) the BGNDTask. They have different execution priorities that require them to be grouped separately and therefore will have different execution metrics.
Method of periodic execution specification Dropdown Specifies the method that the block will use to identify the periodic trigger group. This allows both TIME_PERIODIC and RTIx_PERIODIC triggers to be easily identified. Legacy periodic triggers will also be identified.
Trigger's Period of Execution Numeric Specify the trigger group of interest. Data format is based upon the Method of periodic execution specification
Data Selection Dropdown

Execution Time
Max Execution Time
Min Execution Time
Execution Time recovers the last observed execution time of the selected periodic trigger group

Max Execution Time recovers the maximum observed execution time of the selected periodic trigger group since an Execution Metric Reset was applied.

Min Execution Time recovers the minimum observed execution time of the selected periodic trigger group since an Execution Metric Reset was applied.