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::sched::SwitchStrategySmoothWeightedRoundRobin / stk::sched::SwitchStrategySWRR, and the no-sleep-yield variants stk::sched::SwitchStrategySmoothWeightedRoundRobinNoSleepYield / stk::sched::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::sched::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...
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.
namespace  stk::sched
 Task-switching strategies (stk::sched::SwitchStrategy*) and their helpers (priority bitmaps, schedulability analysis). Shortcuts in namespace stk are deprecated, see __stk_attr_deprecated_type.

Typedefs

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

Detailed Description