Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- hak8or_1@os_hw:~/workspace (master) $ make test
- ~/temp/run.me
- ==================== System Params ====================
- Printer count: 1
- Disk count: 1
- disk 0 cylinders: 100
- CD count: 1
- Time slice duration in ms: 5
- =======================================================
- API: Commands can be enterd in the following formats:
- -> p
- -> p1
- -> quit (exits the program)
- -> A
- -> A
- -> A
- -> A
- -> Sd
- =============================== DISK QUEUE ===============================
- PID | FILENAME | STRT_LOC | FILE_LEN|r/w| Total CPU | avg burst | Cylndr |
- Systems average total CPU time of completed processes: 0
- -> Sr
- PID | Total CPU | avg burst | ============ READY QUEUE ============
- 0| 0| 0| <-- inside CPU
- 1| 0| 0|
- 2| 0| 0|
- 3| 0| 0|
- Systems average total CPU time of completed processes: 0
- -> d0
- filename: 50
- r or w: 50
- start location: 50
- Bad rw option, assuming read.
- Cylinder: 50
- Time in CPU: 50
- Bad rw option, assuming read.
- Time in cpu can't be greater than the time slice duration, assuming 5 (time slice duration).
- -> Sd
- =============================== DISK QUEUE ===============================
- PID | FILENAME | STRT_LOC | FILE_LEN|r/w| Total CPU | avg burst | Cylndr |
- --> Disk# 0 Current cylander head location: 0 <--
- 0| 50| 50| N/A | r | 5| 5| 50|
- Systems average total CPU time of completed processes: 0
- -> D0
- -> Sd
- =============================== DISK QUEUE ===============================
- PID | FILENAME | STRT_LOC | FILE_LEN|r/w| Total CPU | avg burst | Cylndr |
- Systems average total CPU time of completed processes: 0
- -> d0
- filename: 50
- r or w: 50
- start location: 50
- Bad rw option, assuming read.
- Cylinder: 50
- Time in CPU: 50
- Bad rw option, assuming read.
- Time in cpu can't be greater than the time slice duration, assuming 5 (time slice duration).
- -> Sd
- =============================== DISK QUEUE ===============================
- PID | FILENAME | STRT_LOC | FILE_LEN|r/w| Total CPU | avg burst | Cylndr |
- --> Disk# 0 Current cylander head location: 50 <--
- 1| 50| 50| N/A | r | 5| 5| 50|
- Systems average total CPU time of completed processes: 0
- -> d0
- filename: 60
- r or w: 60
- start location: 60
- Bad rw option, assuming read.
- Cylinder: 60
- Time in CPU: 60
- Bad rw option, assuming read.
- Time in cpu can't be greater than the time slice duration, assuming 5 (time slice duration).
- -> Sd
- =============================== DISK QUEUE ===============================
- PID | FILENAME | STRT_LOC | FILE_LEN|r/w| Total CPU | avg burst | Cylndr |
- --> Disk# 0 Current cylander head location: 50 <--
- 1| 50| 50| N/A | r | 5| 5| 50|
- 2| 60| 60| N/A | r | 5| 5| 60|
- Systems average total CPU time of completed processes: 0
- -> d0
- filename: 40
- r or w: 40
- start location: 40
- Bad rw option, assuming read.
- Cylinder: 40
- Time in CPU: 40
- Bad rw option, assuming read.
- Time in cpu can't be greater than the time slice duration, assuming 5 (time slice duration).
- -> Sd
- =============================== DISK QUEUE ===============================
- PID | FILENAME | STRT_LOC | FILE_LEN|r/w| Total CPU | avg burst | Cylndr |
- --> Disk# 0 Current cylander head location: 50 <--
- 1| 50| 50| N/A | r | 5| 5| 50|
- 2| 60| 60| N/A | r | 5| 5| 60|
- 3| 40| 40| N/A | r | 5| 5| 40|
- Systems average total CPU time of completed processes: 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement