lkml.org 
[lkml]   [2007]   [Apr]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Performance Stats: Kernel patch
Eric Dumazet wrote:
> On Wed, 11 Apr 2007 15:59:16 +0400
> Maxim Uvarov <muvarov@ru.mvista.com> wrote:
>
>
>> Patch adds Process Performance Statistics.
>> It make available to the user the following
>> new per-process (thread) performance statistics:
>> * Involuntary Context Switches
>> * Voluntary Context Switches
>> * Number of system calls
>>
>> This data is useful for detecting hyperactivity
>> patterns between processes.
>>
>
> Your description is not very clear about the semantic of your stats.
>
> You currently returns stats only for thread(s) (not process as you claimed)
>
I'm not sure if you were confused by his use of thread in parenthesis,
but isn't the whole point of this to see which threads are doing what?
Or am I misreading his result as intentional?
> Please check kernel/sys.c:k_getrusage() to see how getrusage() has to sum *lot* of individual fields to get precise process numbers (even counting stats for dead threads)
>
>
--
bill davidsen <davidsen@tmr.com>
CTO TMR Associates, Inc
Doing interesting things with small computers since 1979

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-04-11 17:45    [W:0.092 / U:0.208 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site