Multiple choice technology operating systems

How will you calculate CPU time used to perform an action

  1. System time + Real Time

  2. Time + Real Time

  3. User Time + Real Time

  4. User Time + System Time

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

CPU time measures the actual execution time spent by the processor on a program, which is the sum of user-space execution (User Time) and kernel-space system calls (System Time). Real Time (wall clock time) is incorrect as it includes waiting periods for external resources and I/O.