Consider the following table:
Pid |
BT |
I/O |
BT |
$P_0$ |
6 |
4 |
1 |
$P_1$ |
8 |
6 |
2 |
$P_2$ |
12 |
8 |
3 |
Using the shortest remaining time first, find the completion time of a process P2 , if the context switching overhead is 1 unit
- 36
- 48
- 47
- 37
In these question i am getting 48 ,my doubt ,->in the question context switching overhead is 1 unit so in Gant chart , i have taken the overhead 1 unit when P2 finishes it's io at 44 unit , please tell me that is it required to consider the context switching time here just see it