Forget about waiting time !
actually my doubt is :-
after some time of scheduling, Now
let P1 is required 1 BT, before going to I/O, and 5 BT after completion of I/O and it is available in Ready Queue.
let P2 is required 2 BT after completing I/O and available in Ready Queue.
Now is Short term Scheduler based on SRTF, which one will allow to run, is P1 or P2 ?
is considering, P1 requires 1 BT or P1 requires (1+5) BT ? where P2 requires 2 BT.