| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
This adds a separate hash table of structures for profiling data for each
condition variable in the program. Statistics such as the number of waits,
signals, number of contended waits (waits while another thread is already
waiting), contended signals (signals while no threads are waiting) and
contention time are collected and presented in a second table in the summary
printout.
|
|
|
|
|
|
|
|
|
|
|
| |
All counters such as n_locked are now split into two: one for reads and one
for writes. Normal mutexes just use the write counters, whereas rwlocks now
use both the read and write counters as appropriate.
In order to display all this new data, rwlocks are now printed as two lines
in the summary table: the first is for the write counters and the second is
for the read counters. There is currently no way to print out the sum of
any two such counters, or order by this sum.
|
|
|
|
|
| |
This is now supported by the --order command line argument or the
MUTRACE_SUMMARY_ORDER environment variable.
|
| |
|
| |
|
|
|