lkml.org 
[lkml]   [2015]   [Jul]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/1] cputime: Make the reported utime+stime correspond to the actual runtime.
On Tue, Jun 30, 2015 at 08:30:05PM +0200, Fredrik Markström wrote:
> But I don't think the "wobblies" in the division is, since the division doesn't
> affect the sum (prev->stime + prev->rtime) anymore, so that comment should
> go, right ?

Agreed.

> Well I guess it can be a problem on a system where 120 cores are doing nothing
> but hammering on rusage... on the other hand I feel a system like that
> deserves it. :)

True, doing stupid deserves stupid, but somehow people often tend to
disagree with it when its them doing it :-)

Imagine someone doing a gprof like thing where they stuff a getrusage()
call in the mcount hook and then run their many threaded application.

Provided they use RUSAGE_THREAD it doesn't even sound too insane..


\
 
 \ /
  Last update: 2015-07-02 14:41    [W:0.601 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site