Home
last modified time | relevance | path

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

/linux/tools/perf/
H A Dbuiltin-lock.c183 SINGLE_KEY(nr_contended) in SINGLE_KEY() argument
265 PRINT_KEY(nr_contended) in PRINT_KEY() argument
296 DEF_KEY_LOCK(contended, "contended", nr_contended, 10),
307 DEF_KEY_LOCK(contended, "contended", nr_contended, 10),
415 p->nr_contended += st->nr_contended; in combine_lock_stats()
418 if (p->nr_contended) in combine_lock_stats()
419 p->avg_wait_time = p->wait_time_total / p->nr_contended; in combine_lock_stats()
794 ls->avg_wait_time = ls->nr_contended ? ls->wait_time_total/ls->nr_contended : 0; in report_lock_acquired_event()
851 ls->nr_contended++; in report_lock_contended_event()
852 ls->avg_wait_time = ls->wait_time_total/ls->nr_contended; in report_lock_contended_event()
[all …]
/linux/tools/perf/util/
H A Dbpf_lock_contention.c490 st->nr_contended += data.count; in lock_contention_read()
491 if (st->nr_contended) in lock_contention_read()
492 st->avg_wait_time = st->wait_time_total / st->nr_contended; in lock_contention_read()
501 st->nr_contended = data.count; in lock_contention_read()
H A Dlock-contention.h29 unsigned int nr_contended; member