Contur 2
Educational OS kernel simulator
Loading...
Searching...
No Matches
contur::TuiSchedulerSnapshot Struct Reference

Immutable scheduler-focused snapshot consumed by TUI views. More...

#include <tui_models.h>

Public Attributes

std::vector< ProcessIdreadyQueue
 Ordered ready queue PIDs when available.
std::vector< ProcessIdblockedQueue
 Ordered blocked queue PIDs when available.
std::vector< ProcessIdrunningQueue
 Running process IDs across scheduler lanes.
std::vector< std::vector< ProcessId > > perLaneReadyQueues
 Per-lane ready queues when available.
std::size_t readyCount = 0
 Ready queue size summary.
std::size_t blockedCount = 0
 Blocked queue size summary.
std::string policyName
 Active scheduling policy name when available.

Detailed Description

Immutable scheduler-focused snapshot consumed by TUI views.

Definition at line 48 of file tui_models.h.

Member Data Documentation

◆ blockedCount

std::size_t contur::TuiSchedulerSnapshot::blockedCount = 0

Blocked queue size summary.

Definition at line 66 of file tui_models.h.

◆ blockedQueue

std::vector<ProcessId> contur::TuiSchedulerSnapshot::blockedQueue

Ordered blocked queue PIDs when available.

Definition at line 54 of file tui_models.h.

◆ perLaneReadyQueues

std::vector<std::vector<ProcessId> > contur::TuiSchedulerSnapshot::perLaneReadyQueues

Per-lane ready queues when available.

Definition at line 60 of file tui_models.h.

◆ policyName

std::string contur::TuiSchedulerSnapshot::policyName

Active scheduling policy name when available.

Definition at line 69 of file tui_models.h.

◆ readyCount

std::size_t contur::TuiSchedulerSnapshot::readyCount = 0

Ready queue size summary.

Definition at line 63 of file tui_models.h.

◆ readyQueue

std::vector<ProcessId> contur::TuiSchedulerSnapshot::readyQueue

Ordered ready queue PIDs when available.

Definition at line 51 of file tui_models.h.

◆ runningQueue

std::vector<ProcessId> contur::TuiSchedulerSnapshot::runningQueue

Running process IDs across scheduler lanes.

Definition at line 57 of file tui_models.h.


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