This MotoHawk™ block allows the application to query the last and maximum observed idle loop time.
Idle Loop Time Get
motohawk_tasking_lib/Metrics
Idle loop time is the time between successive executions of the idle loop. The maximum observed idle loop time is the maximum observed loop time since it was last reset. The maximum loop time approximates the maximum length of a burst of 100% CPU utilization. The Starvation Time of the Starvation Timer Definition block should be set to be larger than this maximum.
The last observed idle loop time in microseconds.
The maximum observed idle loop time in microseconds since being reset by the block or since power-up.
The maximum observed loop time will be set to the last observed loop time while this input is true.
Parameter Field | Values | Comments/Description |
---|---|---|
Name (optional) | Alpha numeric | Name the block with a unique C-legal name or leave empty and MotoHawk™ will assign a name automatically. |
Resource | Popup | Idle loop time is supported if a selection other than (None) is available. Select a resource that is not (None) to enable. |
Get Maximum Loop Time | Checkbox | Check this box to allow the block to query for the maximum observed loop time and to expose the input port that allows the maximum logged value to be reset. |
Warn on None | Checkbox | Check this box to allow the block to generate a warning should the block be populated in the model with a Resource value of (None). This can occur if a model is ported from a module that supports this metric to a module that doesn't. |
Copyright 2015 Woodward Corporation. All Rights Reserved. | Visit Us: mcs.woodward.com |