![]() |
Contur 2
Educational OS kernel simulator
|
Immutable memory-focused snapshot consumed by TUI views. More...
#include <tui_models.h>
Public Attributes | |
| std::size_t | totalVirtualSlots = 0 |
| Total number of virtual memory slots. | |
| std::size_t | freeVirtualSlots = 0 |
| Number of free virtual memory slots. | |
| std::optional< std::size_t > | totalFrames |
| Optional total number of physical frames. | |
| std::optional< std::size_t > | freeFrames |
| Optional number of free physical frames. | |
| std::vector< std::optional< ProcessId > > | frameOwners |
| Optional frame ownership map (one entry per frame when provided). | |
Immutable memory-focused snapshot consumed by TUI views.
Definition at line 73 of file tui_models.h.
| std::vector<std::optional<ProcessId> > contur::TuiMemorySnapshot::frameOwners |
Optional frame ownership map (one entry per frame when provided).
Definition at line 88 of file tui_models.h.
| std::optional<std::size_t> contur::TuiMemorySnapshot::freeFrames |
Optional number of free physical frames.
Definition at line 85 of file tui_models.h.
| std::size_t contur::TuiMemorySnapshot::freeVirtualSlots = 0 |
Number of free virtual memory slots.
Definition at line 79 of file tui_models.h.
| std::optional<std::size_t> contur::TuiMemorySnapshot::totalFrames |
Optional total number of physical frames.
Definition at line 82 of file tui_models.h.
| std::size_t contur::TuiMemorySnapshot::totalVirtualSlots = 0 |
Total number of virtual memory slots.
Definition at line 76 of file tui_models.h.