simulate_cpu_scheduling
Calculate waiting, turnaround, and response metrics by simulating CPU scheduling algorithms like FCFS, SJF, RR, and Priority.
Instructions
Simulate CPU scheduling and report waiting, turnaround, and response metrics.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobs | Yes | ||
| algorithm | No | FCFS, SJF, RR, or PRIORITY; lower priority numbers run first | RR |
| time_slice | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobs | Yes | ||
| metrics | Yes | ||
| timeline | Yes | ||
| algorithm | Yes | ||
| time_slice | No |