SimpleKernel 1.17.0
Loading...
Searching...
No Matches
TaskControlBlock::SchedData Union Reference

不同调度器的专用字段 (互斥使用) More...

#include <task_control_block.hpp>

Collaboration diagram for TaskControlBlock::SchedData:
Collaboration graph

Public Attributes

struct { 
 
   uint64_t   vruntime 
 虚拟运行时间 More...
 
   uint32_t   weight 
 任务权重 (1024 为默认) More...
 
cfs 
 CFS 调度器数据
 
struct { 
 
   uint8_t   level 
 优先级级别 (0 = 最高) More...
 
mlfq 
 MLFQ 调度器数据
 

Detailed Description

不同调度器的专用字段 (互斥使用)

Definition at line 192 of file task_control_block.hpp.

Member Data Documentation

◆ [struct]

struct { ... } TaskControlBlock::SchedData::cfs

CFS 调度器数据

◆ level

uint8_t TaskControlBlock::SchedData::level

优先级级别 (0 = 最高)

Definition at line 204 of file task_control_block.hpp.

◆ [struct]

struct { ... } TaskControlBlock::SchedData::mlfq

MLFQ 调度器数据

◆ vruntime

uint64_t TaskControlBlock::SchedData::vruntime

虚拟运行时间

Definition at line 196 of file task_control_block.hpp.

◆ weight

uint32_t TaskControlBlock::SchedData::weight

任务权重 (1024 为默认)

Definition at line 198 of file task_control_block.hpp.


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