contur2
Loading...
Searching...
No Matches
contur::KernelSnapshot Struct Reference

Lightweight kernel state snapshot for UI and diagnostics. More...

#include <i_kernel.h>

Public Attributes

Tick currentTick = 0
 Current simulation tick.
std::size_t processCount = 0
 Total number of managed processes.
std::size_t readyCount = 0
 Number of processes in the ready queue.
std::size_t blockedCount = 0
 Number of processes in blocked state.
ProcessId runningPid = INVALID_PID
 PID of the currently running process or INVALID_PID.
std::size_t totalVirtualSlots = 0
 Total number of virtual memory slots.
std::size_t freeVirtualSlots = 0
 Number of free virtual memory slots.

Detailed Description

Lightweight kernel state snapshot for UI and diagnostics.

Definition at line 46 of file i_kernel.h.

Member Data Documentation

◆ blockedCount

std::size_t contur::KernelSnapshot::blockedCount = 0

Number of processes in blocked state.

Definition at line 58 of file i_kernel.h.

◆ currentTick

Tick contur::KernelSnapshot::currentTick = 0

Current simulation tick.

Definition at line 49 of file i_kernel.h.

◆ freeVirtualSlots

std::size_t contur::KernelSnapshot::freeVirtualSlots = 0

Number of free virtual memory slots.

Definition at line 67 of file i_kernel.h.

◆ processCount

std::size_t contur::KernelSnapshot::processCount = 0

Total number of managed processes.

Definition at line 52 of file i_kernel.h.

◆ readyCount

std::size_t contur::KernelSnapshot::readyCount = 0

Number of processes in the ready queue.

Definition at line 55 of file i_kernel.h.

◆ runningPid

ProcessId contur::KernelSnapshot::runningPid = INVALID_PID

PID of the currently running process or INVALID_PID.

Definition at line 61 of file i_kernel.h.

◆ totalVirtualSlots

std::size_t contur::KernelSnapshot::totalVirtualSlots = 0

Total number of virtual memory slots.

Definition at line 64 of file i_kernel.h.


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