![]() |
Contur 2
Educational OS kernel simulator
|
Immutable process row used by TUI views. More...
#include <tui_models.h>
Public Attributes | |
| ProcessId | id = INVALID_PID |
| Process identifier. | |
| std::string | name |
| Human-readable process name. | |
| ProcessState | state = ProcessState::New |
| Current process lifecycle state. | |
| PriorityLevel | basePriority = PriorityLevel::Normal |
| Static/base process priority. | |
| PriorityLevel | effectivePriority = PriorityLevel::Normal |
| Dynamic/effective process priority. | |
| std::int32_t | nice = NICE_DEFAULT |
| Nice value used for fine-grained priority adjustment. | |
| Tick | cpuTime = 0 |
| Total CPU time consumed by process. | |
| std::optional< std::size_t > | laneIndex |
| Optional scheduler lane ownership metadata. | |
Immutable process row used by TUI views.
Definition at line 20 of file tui_models.h.
| PriorityLevel contur::TuiProcessSnapshot::basePriority = PriorityLevel::Normal |
Static/base process priority.
Definition at line 32 of file tui_models.h.
| Tick contur::TuiProcessSnapshot::cpuTime = 0 |
Total CPU time consumed by process.
Definition at line 41 of file tui_models.h.
| PriorityLevel contur::TuiProcessSnapshot::effectivePriority = PriorityLevel::Normal |
Dynamic/effective process priority.
Definition at line 35 of file tui_models.h.
| ProcessId contur::TuiProcessSnapshot::id = INVALID_PID |
Process identifier.
Definition at line 23 of file tui_models.h.
| std::optional<std::size_t> contur::TuiProcessSnapshot::laneIndex |
Optional scheduler lane ownership metadata.
Definition at line 44 of file tui_models.h.
| std::string contur::TuiProcessSnapshot::name |
Human-readable process name.
Definition at line 26 of file tui_models.h.
| std::int32_t contur::TuiProcessSnapshot::nice = NICE_DEFAULT |
Nice value used for fine-grained priority adjustment.
Definition at line 38 of file tui_models.h.
| ProcessState contur::TuiProcessSnapshot::state = ProcessState::New |
Current process lifecycle state.
Definition at line 29 of file tui_models.h.