SuperTinyKernel™ RTOS 1.06.x
Lightweight, high-performance, deterministic, bare-metal C++ RTOS for resource-constrained embedded systems. MIT Open Source License.
Loading...
Searching...
No Matches
stk::SchedulabilityCheck::TaskCpuLoad Class Reference

CPU utilisation values for a single task, in whole percent. More...

#include <stk_strategy_monotonic.h>

Public Attributes

uint16_t task
 CPU load contributed by this task alone, in percent: floor(C / T * 100) = floor(duration * 100 / period).
uint16_t total
 Cumulative CPU load of this task plus all higher-priority tasks, in percent (running sum from index 0).

Detailed Description

CPU utilisation values for a single task, in whole percent.

Definition at line 299 of file stk_strategy_monotonic.h.

Member Data Documentation

◆ task

uint16_t stk::SchedulabilityCheck::TaskCpuLoad::task

CPU load contributed by this task alone, in percent: floor(C / T * 100) = floor(duration * 100 / period).

Definition at line 301 of file stk_strategy_monotonic.h.

Referenced by stk::SchedulabilityCheck::GetTaskCpuLoad().

◆ total

uint16_t stk::SchedulabilityCheck::TaskCpuLoad::total

Cumulative CPU load of this task plus all higher-priority tasks, in percent (running sum from index 0).

Definition at line 302 of file stk_strategy_monotonic.h.

Referenced by stk::SchedulabilityCheck::GetTaskCpuLoad().


The documentation for this class was generated from the following file: