[lkml]   [2021]   [Jun]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Utime and stime are less when getrusage (RUSAGE_THREAD) is executed on a tickless CPU.
Hi Frederic, Peter, and Mel

> I tested this and confirmed that it gives accurate values.
> Also, task_sched_runtime () is done only on nohz_full CPU, so I think
> it's a better idea than before.
> I hope you will incorporate this fix into your mainline.

I have also confirmed that CPUs other than nohz_full have very little overhead.
Please consider merging it into the mainline.

Hitomi Hasegawa
 \ /
  Last update: 2021-06-28 04:44    [W:0.079 / U:0.224 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site