Home
last modified time | relevance | path

Searched refs:nr_contended (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.6/tools/perf/util/
Dbpf_lock_contention.c330 st->nr_contended += data.count; in lock_contention_read()
331 if (st->nr_contended) in lock_contention_read()
332 st->avg_wait_time = st->wait_time_total / st->nr_contended; in lock_contention_read()
341 st->nr_contended = data.count; in lock_contention_read()
Dlock-contention.h27 unsigned int nr_contended; member
/Linux-v6.6/tools/perf/
Dbuiltin-lock.c181 SINGLE_KEY(nr_contended) in SINGLE_KEY() argument
263 PRINT_KEY(nr_contended) in PRINT_KEY() argument
294 DEF_KEY_LOCK(contended, "contended", nr_contended, 10),
305 DEF_KEY_LOCK(contended, "contended", nr_contended, 10),
413 p->nr_contended += st->nr_contended; in combine_lock_stats()
416 if (p->nr_contended) in combine_lock_stats()
417 p->avg_wait_time = p->wait_time_total / p->nr_contended; in combine_lock_stats()
776 ls->avg_wait_time = ls->nr_contended ? ls->wait_time_total/ls->nr_contended : 0; in report_lock_acquired_event()
833 ls->nr_contended++; in report_lock_contended_event()
834 ls->avg_wait_time = ls->wait_time_total/ls->nr_contended; in report_lock_contended_event()
[all …]