wiki:Debugging/LowLevelProfiling/mutrace

mutrace

This is a little tool I came across by Lennart Poettering for profiling pthread mutexes. For each mutex in the program it tells you how many times the mutex was locked, how often there was contention, and the maximum time the mutex was held locked for, amongst other things.

Very useful for diagnosing lock contention in the RTS.

Last modified 3 years ago Last modified on Nov 26, 2010 10:06:16 AM