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

Smooth Weighted Round-Robin task-switching strategy (stk::SwitchStrategySmoothWeightedRoundRobin / stk::SwitchStrategySWRR, and the no-sleep-yield variants stk::SwitchStrategySmoothWeightedRoundRobinNoSleepYield / stk::SwitchStrategySWRR_NSY). More...

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

Go to the source code of this file.

Classes

class  stk::SwitchStrategySmoothWeightedRoundRobinT< NoSleepYield >
 Smooth Weighted Round-Robin (SWRR) task-switching strategy: distributes CPU time proportionally to per-task weights while avoiding execution bursts by spreading selections evenly over time. More...

Namespaces

namespace  stk
 Namespace of STK package.

Typedefs

typedef SwitchStrategySmoothWeightedRoundRobinT< false > stk::SwitchStrategySmoothWeightedRoundRobin
 Shorthand alias for SwitchStrategySmoothWeightedRoundRobinT<false>.
typedef SwitchStrategySmoothWeightedRoundRobinT< false > stk::SwitchStrategySWRR
 Shorthand alias for SwitchStrategySmoothWeightedRoundRobin.
typedef SwitchStrategySmoothWeightedRoundRobinT< true > stk::SwitchStrategySmoothWeightedRoundRobinNoSleepYield
 Smooth Weighted Round-Robin strategy where Yield() keeps the task runnable (NOSLEEP_YIELD_API = 1).
typedef SwitchStrategySmoothWeightedRoundRobinT< true > stk::SwitchStrategySWRR_NSY
 Shorthand for SwitchStrategySmoothWeightedRoundRobinNoSleepYield.

Detailed Description

Smooth Weighted Round-Robin task-switching strategy (stk::SwitchStrategySmoothWeightedRoundRobin / stk::SwitchStrategySWRR, and the no-sleep-yield variants stk::SwitchStrategySmoothWeightedRoundRobinNoSleepYield / stk::SwitchStrategySWRR_NSY).

Definition in file stk_strategy_swrrobin.h.