SuperTinyKernel™ RTOS 1.05.3
Lightweight, high-performance, deterministic, bare-metal C++ RTOS for resource-constrained embedded systems. MIT Open Source License.
Loading...
Searching...
No Matches
stk_strategy_monotonic.h File Reference

Rate-Monotonic (RM) and Deadline-Monotonic (DM) task-switching strategies (stk::SwitchStrategyMonotonic / stk::SwitchStrategyRM / stk::SwitchStrategyDM), and the SchedulabilityCheck utility for Worst-Case Response Time (WCRT) analysis. More...

#include "stk_common.h"
#include "stk_strategy_rrobin.h"
Include dependency graph for stk_strategy_monotonic.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  stk::SwitchStrategyMonotonic< _Type >
 Monotonic scheduling strategy: Rate-Monotonic (RM) or Deadline-Monotonic (DM), selected at compile time by the _Type template parameter. More...
class  stk::SchedulabilityCheck
 Utility class providing static methods for Worst-Case Response Time (WCRT) schedulability analysis of a monotonic HRT task set. More...
class  stk::SchedulabilityCheck::TaskTiming
 Execution deadline and scheduling period for a single periodic HRT task, used as input to CalculateWCRT() and GetTaskCpuLoad(). More...
class  stk::SchedulabilityCheck::TaskCpuLoad
 CPU utilisation values for a single task, in whole percent. More...
class  stk::SchedulabilityCheck::TaskInfo
 Analysis results for a single task: CPU load and computed WCRT. More...
class  stk::SchedulabilityCheck::SchedulabilityCheckResult< _TaskCount >
 Result of a WCRT schedulability test: overall verdict plus per-task details. More...

Namespaces

namespace  stk
 Namespace of STK package.

Typedefs

typedef SwitchStrategyMonotonic< MSS_TYPE_RATEstk::SwitchStrategyRM
 Shorthand alias for SwitchStrategyMonotonic<MSS_TYPE_RATE>: Rate-Monotonic scheduling (shorter scheduling period -> higher priority).
typedef SwitchStrategyMonotonic< MSS_TYPE_DEADLINEstk::SwitchStrategyDM
 Shorthand alias for SwitchStrategyMonotonic<MSS_TYPE_DEADLINE>: Deadline-Monotonic scheduling (shorter execution deadline -> higher priority).

Enumerations

enum  stk::EMonotonicSwitchStrategyType {
  stk::MSS_TYPE_RATE ,
  stk::MSS_TYPE_DEADLINE
}
 Policy selector for SwitchStrategyMonotonic: determines the timing attribute used to assign fixed priorities to tasks at AddTask() time. More...

Detailed Description

Rate-Monotonic (RM) and Deadline-Monotonic (DM) task-switching strategies (stk::SwitchStrategyMonotonic / stk::SwitchStrategyRM / stk::SwitchStrategyDM), and the SchedulabilityCheck utility for Worst-Case Response Time (WCRT) analysis.

Definition in file stk_strategy_monotonic.h.