Simulates a CPU execution system with interrupt handling, system calls, and process scheduling. The simulator generates logs of all system activities, including memory allocation, process forking, and execution.
interrupts.h: Header fileinterrupts.c: Implementation of the simulation logic, including trace file reading, event handling, and output logging.
trace.txt: Includes the sequence of events (e.g., FORK, EXEC, CPU execution) with relevant durations and details.external_files.txt: Lists programs and their memory sizes.program#.txt: Provides instructions for specific programs loaded into memory during execution.
execution.txt: Logs events with timestamps, durations, and descriptions.system_status.txt: Saves the current state of the system after each system call.
This project is licensed under the MIT License.