Subj : Re: profiling pthread mutex contention To : comp.programming.threads From : Casper H.S. Dik Date : Fri Mar 04 2005 03:27 pm "jezuk" writes: >Are there any tools or any suggestions that profile posix mutex >contention, i.e. stats on how long is spent waiting for other mutex locks >to free themselves up? How many times mutexes have to wait etc? >I am writing my program in C using POSIX under Solaris 2.9. >The intel profiler does this I know but is not much use. I am not sure >whether LockStat can do it. Is there any way I can write something to >generate these stats or a tool that will generate them for me? lockstat only looks at kernel locks; Solaris 10 has "plockstat" which does the same for user land locks. Casper -- Expressed in this posting are my opinions. They are in no way related to opinions held by my employer, Sun Microsystems. Statements on Sun products included here are not gospel and may be fiction rather than truth. .