![]() |
Contur 2
Educational OS kernel simulator
|
Immutable process view consumed by scheduling policies. More...
#include <i_scheduling_policy.h>
Public Attributes | |
| ProcessId | pid = INVALID_PID |
| Tick | arrivalTime = 0 |
| Tick | lastStateChange = 0 |
| Tick | estimatedBurst = 0 |
| Tick | remainingBurst = 0 |
| Tick | totalWaitTime = 0 |
| PriorityLevel | effectivePriority = PriorityLevel::Normal |
| std::int32_t | nice = NICE_DEFAULT |
Immutable process view consumed by scheduling policies.
Policies receive this value-type snapshot to avoid direct access to mutable/shared PCB state.
Definition at line 22 of file i_scheduling_policy.h.
| Tick contur::SchedulingProcessSnapshot::arrivalTime = 0 |
Definition at line 25 of file i_scheduling_policy.h.
| PriorityLevel contur::SchedulingProcessSnapshot::effectivePriority = PriorityLevel::Normal |
Definition at line 30 of file i_scheduling_policy.h.
| Tick contur::SchedulingProcessSnapshot::estimatedBurst = 0 |
Definition at line 27 of file i_scheduling_policy.h.
| Tick contur::SchedulingProcessSnapshot::lastStateChange = 0 |
Definition at line 26 of file i_scheduling_policy.h.
| std::int32_t contur::SchedulingProcessSnapshot::nice = NICE_DEFAULT |
Definition at line 31 of file i_scheduling_policy.h.
| ProcessId contur::SchedulingProcessSnapshot::pid = INVALID_PID |
Definition at line 24 of file i_scheduling_policy.h.
| Tick contur::SchedulingProcessSnapshot::remainingBurst = 0 |
Definition at line 28 of file i_scheduling_policy.h.
| Tick contur::SchedulingProcessSnapshot::totalWaitTime = 0 |
Definition at line 29 of file i_scheduling_policy.h.