Point in Time and Duration in Time

Operating Systems

Point in Time and Duration in Time

Point in time is a specific instant or moment. It describes when an event occurs.

Duration in time is the amount of time between two points in time. It describes how long something takes or lasts.

Types of process times
TermTypeExampleMeaning
Arrival timePoint in Timet = 4The time at which a process arrives and becomes available for CPU scheduling, typically entering the Ready state.
Completion timePoint in Timet = 12The time at which a process finishes its execution.
Start timePoint in Timet = 6The time at which a process first starts being executed by the CPU.
CPU burst timeDuration in Time3 msThe amount of continuous time a process spends executing on the CPU before it stops executing, for example because it becomes blocked, is preempted or completes.
Waiting timeDuration in Time2 msThe total amount of time a process spends waiting in the Ready state for access to the CPU.
Turnaround timeDuration in Time8 msThe total amount of time between the arrival of a process and its completion.
Response timeDuration in Time2 msThe amount of time between the arrival of a process and the first time it begins executing on the CPU.
I/O timeDuration in Time31 sThe amount of time associated with an I/O operation, during which the process may be in the Waiting/Blocked state while waiting for the operation to complete.

Scheduling Formulae

Turnaround Time:

Turnaround Time=Completion Time−Arrival Time

Response Time:

Response Time=Start Time−Arrival Time

Waiting Time:

Waiting Time=Turnaround Time−CPU Execution Time