In the world of CPU scheduling, understanding the concepts of Waiting Time (WT) and Turn Around Time (TAT) is crucial. These timescales are critical in determining the efficiency of a process's execution, and are calculated using Completion, Arrival, and Burst Time. This article will delve into the differences between TAT and WT in the context of CPU Scheduling.
Get 12 Months Banking & Insurance Super Pack SuperCoaching @ just
₹5998₹2179
Completion Time (CT) – This is the precise moment when a process finishes its execution.
Arrival Time (AT) – This is when a process arrives in its ready state, before it begins execution.
Therefore, CT – AT = TAT
Burst Time (BT) – This is the total time a process needs for its execution.
Therefore, TAT – BT = WT
We can also calculate the Turn Around Time using the Burst Time and the Waiting Time.
So, BT + WT = TAT
Let's examine the key differences between Turn Around Time (TAT) and Waiting Time (WT) in CPU Scheduling.
Parameters | Turn Around Time (TAT) | Waiting Time (WT) |
Definition | TAT is the time from when a process enters the ready queue until it is completed. | WT is the time a process spends waiting in the ready queue before it is processed by the CPU. |
Impact of Output Speed | The speed of the output device can limit TAT. | WT is unaffected by the speed of the output device. |
Impact of CPU Scheduling Algorithms | Different CPU scheduling algorithms can yield different TATs for the same set of processes. | The total process execution time and I/O time are not altered by the CPU scheduling algorithm. It only affects the time a process spends waiting in the ready queue. |
Stay updated with the latest information on GATE Exam , GATE Eligibility Criteria , GATE 2024 , GATE Admit Card , GATE Application Form , GATE Syllabus , GATE Cutoff , GATE Previous Year Question Paper , and more.
Download the Testbook APP & Get Pass Pro Max FREE for 7 Days
Download the testbook app and unlock advanced analytics.