Home
last modified time | relevance | path

Searched refs:stats (Results 1 – 4 of 4) sorted by relevance

/lib/
Dtest_objagg.c228 const struct objagg_stats *stats; in check_stats_zero() local
231 stats = objagg_stats_get(objagg); in check_stats_zero()
232 if (IS_ERR(stats)) in check_stats_zero()
233 return PTR_ERR(stats); in check_stats_zero()
235 if (stats->stats_info_count != 0) { in check_stats_zero()
240 objagg_stats_put(stats); in check_stats_zero()
246 const struct objagg_stats *stats; in check_stats_nodelta() local
250 stats = objagg_stats_get(objagg); in check_stats_nodelta()
251 if (IS_ERR(stats)) in check_stats_nodelta()
252 return PTR_ERR(stats); in check_stats_nodelta()
[all …]
Dobjagg.c68 struct objagg_obj_stats stats; member
84 objagg_obj->stats.user_count++; in objagg_obj_stats_inc()
85 objagg_obj->stats.delta_user_count++; in objagg_obj_stats_inc()
87 objagg_obj->parent->stats.delta_user_count++; in objagg_obj_stats_inc()
92 objagg_obj->stats.user_count--; in objagg_obj_stats_dec()
93 objagg_obj->stats.delta_user_count--; in objagg_obj_stats_dec()
95 objagg_obj->parent->stats.delta_user_count--; in objagg_obj_stats_dec()
580 if (stats_info1->stats.delta_user_count != in objagg_stats_info_sort_cmp_func()
581 stats_info2->stats.delta_user_count) in objagg_stats_info_sort_cmp_func()
582 return stats_info2->stats.delta_user_count - in objagg_stats_info_sort_cmp_func()
[all …]
DKconfig.debug1208 stats may be useful for both tuning and debugging the scheduler
/lib/kunit/
Dtest.c86 static bool kunit_should_print_stats(struct kunit_result_stats stats) in kunit_should_print_stats() argument
94 return (stats.total > 1); in kunit_should_print_stats()
98 struct kunit_result_stats stats) in kunit_print_test_stats() argument
100 if (!kunit_should_print_stats(stats)) in kunit_print_test_stats()
107 stats.passed, in kunit_print_test_stats()
108 stats.failed, in kunit_print_test_stats()
109 stats.skipped, in kunit_print_test_stats()
110 stats.total); in kunit_print_test_stats()
492 static void kunit_update_stats(struct kunit_result_stats *stats, in kunit_update_stats() argument
497 stats->passed++; in kunit_update_stats()
[all …]