mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-08 14:57:21 +03:00
Add arena lock stats output.
This commit is contained in:
parent
a4f176af57
commit
0fb5c0e853
9 changed files with 269 additions and 51 deletions
|
|
@ -6,10 +6,10 @@ struct lock_prof_data_s {
|
|||
* Counters touched on the slow path, i.e. when there is lock
|
||||
* contention. We update them once we have the lock.
|
||||
*/
|
||||
/* Total time spent waiting on this lock. */
|
||||
nstime_t tot_wait_time;
|
||||
/* Max time spent on a single lock operation. */
|
||||
nstime_t max_wait_time;
|
||||
/* Total time (in nano seconds) spent waiting on this lock. */
|
||||
uint64_t tot_wait_time;
|
||||
/* Max time (in nano seconds) spent on a single lock operation. */
|
||||
uint64_t max_wait_time;
|
||||
/* # of times have to wait for this lock (after spinning). */
|
||||
uint64_t n_wait_times;
|
||||
/* # of times acquired the lock through local spinning. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue