![]() |
SuperTinyKernel™ RTOS 1.05.3
Lightweight, high-performance, deterministic, bare-metal C++ RTOS for resource-constrained embedded systems. MIT Open Source License.
|
Execution deadline and scheduling period for a single periodic HRT task, used as input to CalculateWCRT() and GetTaskCpuLoad(). More...
#include <stk_strategy_monotonic.h>
Public Attributes | |
| uint32_t | duration |
| Worst-Case Execution Time C of the task (ticks), from GetHrtDeadline(). Used as the base cost and interference multiplier Cj in CalculateWCRT(). | |
| uint32_t | period |
| Scheduling period T of the task (ticks), from GetHrtPeriodicity(). Used as the interference divisor Tj in CalculateWCRT() and the CPU load denominator in GetTaskCpuLoad(). | |
Execution deadline and scheduling period for a single periodic HRT task, used as input to CalculateWCRT() and GetTaskCpuLoad().
Populated by IsSchedulableWCRT() from each kernel task via GetHrtDeadline() and GetHrtPeriodicity() respectively. Entries must be in descending priority order (index 0 = highest-priority task).
duration maps to C (= GetHrtDeadline(), the maximum allowed execution time per activation) and period maps to T (= GetHrtPeriodicity(), the activation interval). Definition at line 297 of file stk_strategy_monotonic.h.
| uint32_t stk::SchedulabilityCheck::TaskTiming::duration |
Worst-Case Execution Time C of the task (ticks), from GetHrtDeadline(). Used as the base cost and interference multiplier Cj in CalculateWCRT().
Definition at line 299 of file stk_strategy_monotonic.h.
Referenced by stk::SchedulabilityCheck::CalculateWCRT(), and stk::SchedulabilityCheck::IsSchedulableWCRT().
| uint32_t stk::SchedulabilityCheck::TaskTiming::period |
Scheduling period T of the task (ticks), from GetHrtPeriodicity(). Used as the interference divisor Tj in CalculateWCRT() and the CPU load denominator in GetTaskCpuLoad().
Definition at line 300 of file stk_strategy_monotonic.h.
Referenced by stk::SchedulabilityCheck::CalculateWCRT(), and stk::SchedulabilityCheck::IsSchedulableWCRT().