Lines Matching refs:tlc
361 print_try_lcore_stats(const struct try_rwlock_lcore *tlc, uint32_t lc) in print_try_lcore_stats() argument
365 f = RTE_MAX(tlc->stat.fail, 1ULL); in print_try_lcore_stats()
366 s = RTE_MAX(tlc->stat.success, 1ULL); in print_try_lcore_stats()
379 tlc->rc, in print_try_lcore_stats()
380 tlc->type == LC_TYPE_RDLOCK ? "RDLOCK" : "WRLOCK", in print_try_lcore_stats()
381 tlc->stat.fail, in print_try_lcore_stats()
382 tlc->stat.success, in print_try_lcore_stats()
383 tlc->stat.tick, in print_try_lcore_stats()
384 (long double)tlc->stat.tick / in print_try_lcore_stats()
385 (tlc->stat.fail + tlc->stat.success), in print_try_lcore_stats()
386 (long double)tlc->stat.tick / s, in print_try_lcore_stats()
387 (long double)tlc->stat.success / f); in print_try_lcore_stats()
391 collect_try_lcore_stats(struct try_rwlock_lcore *tlc, in collect_try_lcore_stats() argument
394 tlc->stat.tick += lc->stat.tick; in collect_try_lcore_stats()
395 tlc->stat.fail += lc->stat.fail; in collect_try_lcore_stats()
396 tlc->stat.success += lc->stat.success; in collect_try_lcore_stats()