Tuesday, 10 September 2013

SJF Algorithm (SRTFS) - Calculate Sorting the Processes?

SJF Algorithm (SRTFS) - Calculate Sorting the Processes?

Table Here
Ok, I have the table above, and I need to calculate the average waiting
time using the preemptive SJF algorithm, but to do that, you must first
'sort' these processes, which I think I don't understand properly how to
do.
If I knew how to sort them, I'd have no trouble calculating the average
waiting time at all.
Here's what I came up with, but I think it's probably wrong.
My Probably Wrong Solution

No comments:

Post a Comment