simulate_cpu_scheduling
Simulate CPU scheduling with FCFS, SJF, RR, or PRIORITY algorithms to analyze job burst, arrival, priority, and RR time slice outcomes without touching real processes.
Instructions
CALL THIS EXACT TOOL for RR, SJF, FCFS, or PRIORITY job scheduling.
This is a pure simulation. Include every requested job, the explicit algorithm, and RR time slice. The tool name must remain simulate_cpu_scheduling. This does not inspect, stop, or modify real processes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobs | Yes | Required complete list of every simulated job; do not omit jobs | |
| algorithm | Yes | Required scheduling algorithm: FCFS, SJF, RR, or PRIORITY; lower priority numbers run first | |
| time_slice | No | RR quantum; ignored for non-RR algorithms; default 1 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobs | Yes | ||
| metrics | Yes | ||
| summary | Yes | ||
| timeline | Yes | ||
| algorithm | Yes | ||
| time_slice | No |