Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 01 Feb 2006 11:18:59 -0800
From:      Julian Elischer <julian@elischer.org>
To:        Ilya E Veretenkin <ilyaver@mail.ru>
Cc:        freebsd-threads@freebsd.org
Subject:   Re: getting particular thread cpu time
Message-ID:  <43E109A3.8080904@elischer.org>
In-Reply-To: <408955619.20060201150429@mail.ru>
References:  <408955619.20060201150429@mail.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
Ilya E Veretenkin wrote:

>Здравствуйте, freebsd-threads.
>
>Hello.
>I am writing a multi-threaded application and want to see the cpu
>usage of each thread of this application.
>I know that 'ps -H' outputs cpu usage information for threads, but how
>can I found out the correspondence between particular thread in 'ps-H'
>output and particular thread ID in my app
>

if you use libthr you will see a separate kernel thread for each thread.
Unfortunatly we are still working on thread statistics so you may not
get much in theway of good statistics yet.
Thread stats are the next thing for me to work on but I have a $REALJOB
time crunch at the moment.



>lication?
>
>  
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43E109A3.8080904>