Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Feb 2012 15:10:47 +0100
From:      Christoph Splittgerber <cs@sdata.de>
To:        "freebsd-threads@freebsd.org" <freebsd-threads@freebsd.org>
Subject:   How to map a thread-id to a thread-address
Message-ID:  <813D616D-66E4-41BB-9D4C-BB736268B88A@sdata.de>

next in thread | raw e-mail | index | archive | help
Hallo, I hope his is the correct maling list for his:

I need a per thread overview of CPU time used.

I found out that a "ps -H -otdaddr,time" gives me exactly this. The question=
 now is, how to relate the thread-address printed by the ps command to my th=
reads. I did let the program print the thread-ids, and the threads stack-add=
ress but non of them correlate to the address printed by ps.
I would be grateful for any pointers.

Thanks in advance,

Christoph




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?813D616D-66E4-41BB-9D4C-BB736268B88A>