![]() |
Contur 2
Educational OS kernel simulator
|
Lightweight process row for diagnostics and TUI rendering. More...
#include <i_kernel.h>
Public Attributes | |
| ProcessId | id = INVALID_PID |
| Process identifier. | |
| std::string | name |
| Process name. | |
| ProcessState | state = ProcessState::New |
| Current process lifecycle state. | |
| PriorityLevel | basePriority = PriorityLevel::Normal |
| Base/static priority. | |
| PriorityLevel | effectivePriority = PriorityLevel::Normal |
| Effective/dynamic priority. | |
| std::int32_t | nice = NICE_DEFAULT |
| Nice value used for fine-grained priority adjustments. | |
| Tick | cpuTime = 0 |
| Total CPU time consumed by process. | |
| std::optional< std::size_t > | laneIndex |
| Optional scheduler lane ownership metadata. | |
Lightweight process row for diagnostics and TUI rendering.
Definition at line 60 of file i_kernel.h.
| PriorityLevel contur::KernelProcessSnapshot::basePriority = PriorityLevel::Normal |
Base/static priority.
Definition at line 72 of file i_kernel.h.
| Tick contur::KernelProcessSnapshot::cpuTime = 0 |
Total CPU time consumed by process.
Definition at line 81 of file i_kernel.h.
| PriorityLevel contur::KernelProcessSnapshot::effectivePriority = PriorityLevel::Normal |
Effective/dynamic priority.
Definition at line 75 of file i_kernel.h.
| ProcessId contur::KernelProcessSnapshot::id = INVALID_PID |
Process identifier.
Definition at line 63 of file i_kernel.h.
| std::optional<std::size_t> contur::KernelProcessSnapshot::laneIndex |
Optional scheduler lane ownership metadata.
Definition at line 84 of file i_kernel.h.
| std::string contur::KernelProcessSnapshot::name |
Process name.
Definition at line 66 of file i_kernel.h.
| std::int32_t contur::KernelProcessSnapshot::nice = NICE_DEFAULT |
Nice value used for fine-grained priority adjustments.
Definition at line 78 of file i_kernel.h.
| ProcessState contur::KernelProcessSnapshot::state = ProcessState::New |
Current process lifecycle state.
Definition at line 69 of file i_kernel.h.