-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathReport.txt
84 lines (76 loc) · 1.71 KB
/
Report.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
=================================================
| Detailed information about processes.
+--------------------------------------
Process ID: PN1
Priority: 3
CPU burst: 2
Arrival Time: 0
Start Time: 14
Termination Time: 16
Turn around Time: 16
Waiting Time: 14
Response Time: 14
Process ID: PN2
Priority: 2
CPU burst: 3
Arrival Time: 2
Start Time: 4
Termination Time: 13
Turn around Time: 11
Waiting Time: 8
Response Time: 2
Process ID: PN3
Priority: 4
CPU burst: 2
Arrival Time: 4
Start Time: 17
Termination Time: 19
Turn around Time: 15
Waiting Time: 13
Response Time: 13
Process ID: PN4
Priority: 1
CPU burst: 3
Arrival Time: 0
Start Time: 0
Termination Time: 3
Turn around Time: 3
Waiting Time: 0
Response Time: 0
Process ID: PN5
Priority: 1
CPU burst: 2
Arrival Time: 5
Start Time: 6
Termination Time: 8
Turn around Time: 3
Waiting Time: 1
Response Time: 1
Process ID: PN6
Priority: 2
CPU burst: 1
Arrival Time: 6
Start Time: 9
Termination Time: 10
Turn around Time: 4
Waiting Time: 3
Response Time: 3
Process ID: PN7
Priority: 4
CPU burst: 3
Arrival Time: 10
Start Time: 20
Termination Time: 23
Turn around Time: 13
Waiting Time: 10
Response Time: 10
=================================================
| Scheduling criteria.
+---------------------
Avg turnaround time = 9.285714285714286
Avg waiting time = 7.0
Avg response time = 6.142857142857143
=================================================
=================================================
| Processes Chart: | PN4 | CS | PN2 | CS | PN5 | CS | PN6 | CS | PN2 | CS | PN1 | CS | PN3 | CS | PN7
=================================================