How nate318/simulador-so works
SimuladorSO is an educational WPF operating-system simulator. Users configure and run a kernel simulation, inject or observe processes, inspect CPU, memory, I/O, and metrics, and can launch separate scheduling or memory-allocation benchmarks. The graph preserves the documented process, scheduling, memory, interrupt/I/O, metrics, and benchmarking stages. Source excerpts confirm key engine, UI, benchmark, MMU, and metrics relationships; unsampled wiring is omitted where it cannot be established.
Main entry points: SimulationEngine.cs Simulation engine · MainWindow.xaml.cs Simulation UI · MMU.cs MMU and paging · BenchmarkEngine.cs Scheduling benchmark
Components 19
User interface
- Simulation UI
MainWindow.xaml.cs
Kernel simulation
- Simulation engine
SimuladorSO/Engine/SimulationEngine.cs - Process PCB
SimuladorSO/Kernel/Processes/Process.cs - Interrupt queue
SimuladorSO/Kernel/Interrupts/Interrupt.cs - Interrupt types
SimuladorSO/Kernel/Enums/InterruptType.cs - Process states
SimuladorSO/Kernel/Enums/ProcessState.cs - CPU hardware
SimuladorSO/Hardware/CPU.cs - Scheduler base
SimuladorSO/Scheduling/Scheduler.cs - Scheduling policies
SimuladorSO/Scheduling
Memory management
- MMU and paging
SimuladorSO/Memory/MMU.cs - Physical frames
SimuladorSO/Memory/Frame.cs - Page entries
SimuladorSO/Memory/PageEntry.cs - TLB entries
SimuladorSO/Memory/TLBEntry.cs
Benchmarks
- Scheduling benchmark
SimuladorSO/Benchmarking/BenchmarkEngine.cs - Scheduling results
SimuladorSO/Benchmarking/BenchmarkResult.cs - Memory benchmark
SimuladorSO/Benchmarking/MemoryBenchmarkEngine.cs - Memory results
SimuladorSO/Benchmarking/MemoryBenchmarkResult.cs
Metrics and results
- Simulation metrics
SimuladorSO/Metrics/SimulationMetrics.cs
Other components
- User
Connections 20
- User → Simulation UI: operates
README.md - Simulation UI → Simulation engine: controls and displays
MainWindow.xaml.cs - Simulation UI → Scheduling benchmark: launches
MainWindow.xaml.cs - Simulation UI → Memory benchmark: launches
MainWindow.xaml.cs - Simulation engine → Process PCB: manages
SimuladorSO/Engine/SimulationEngine.cs - Simulation engine → Interrupt queue: queues
SimuladorSO/Engine/SimulationEngine.cs - Simulation engine → Simulation metrics: updates
SimuladorSO/Engine/SimulationEngine.cs - Simulation engine → Scheduler base: selects
SimuladorSO/Engine/SimulationEngine.cs - Simulation engine → CPU hardware: uses
SimuladorSO/Engine/SimulationEngine.cs - Scheduler base → Process PCB: queues
SimuladorSO/Scheduling/Scheduler.cs - Scheduling policies → Scheduler base: implement
SimuladorSO/Scheduling/Scheduler.cs - Interrupt queue → Interrupt types: classifies
SimuladorSO/Kernel/Interrupts/Interrupt.cs - Simulation engine → MMU and paging: manages memory with
- MMU and paging → Physical frames: allocates
SimuladorSO/Memory/MMU.cs - MMU and paging → Page entries: tracks pages with
SimuladorSO/Memory/MMU.cs - MMU and paging → TLB entries: caches translations with
SimuladorSO/Memory/MMU.cs - Scheduling benchmark → Simulation engine: runs scenarios on
SimuladorSO/Benchmarking/BenchmarkEngine.cs - Scheduling benchmark → Scheduling results: produces
SimuladorSO/Benchmarking/BenchmarkEngine.cs - Memory benchmark → Simulation engine: runs scenarios on
SimuladorSO/Benchmarking/MemoryBenchmarkEngine.cs - Memory benchmark → Memory results: produces
SimuladorSO/Benchmarking/MemoryBenchmarkEngine.cs