How will you calculate CPU time used to perform an action
-
System time + Real Time
-
Time + Real Time
-
User Time + Real Time
-
User Time + System Time
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.