User CPU time vs System CPU time?

前端 未结 4 479
野的像风
野的像风 2020-12-04 11:48

Could you explain more about \"user CPU time\" and \"system CPU time\"? I have read a lot, but I couldn\'t understand it well.

4条回答
  •  误落风尘
    2020-12-04 12:24

    The difference is whether the time is spent in user space or kernel space. User CPU time is time spent on the processor running your program's code (or code in libraries); system CPU time is the time spent running code in the operating system kernel on behalf of your program.

提交回复
热议问题