Home
last modified time | relevance | path

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

/Zephyr-latest/tests/kernel/obj_core/obj_core_stats_api/src/
Dmain.c48 saved_enable = K_OBJ_CORE(test_thread)->type->stats_desc->enable; in ZTEST()
49 K_OBJ_CORE(test_thread)->type->stats_desc->enable = NULL; in ZTEST()
53 K_OBJ_CORE(test_thread)->type->stats_desc->enable = saved_enable; in ZTEST()
79 saved_disable = K_OBJ_CORE(test_thread)->type->stats_desc->disable; in ZTEST()
80 K_OBJ_CORE(test_thread)->type->stats_desc->disable = NULL; in ZTEST()
84 K_OBJ_CORE(test_thread)->type->stats_desc->disable = saved_disable; in ZTEST()
110 saved_reset = K_OBJ_CORE(test_thread)->type->stats_desc->reset; in ZTEST()
111 K_OBJ_CORE(test_thread)->type->stats_desc->reset = NULL; in ZTEST()
115 K_OBJ_CORE(test_thread)->type->stats_desc->reset = saved_reset; in ZTEST()
143 saved_query = K_OBJ_CORE(test_thread)->type->stats_desc->query; in ZTEST()
[all …]
/Zephyr-latest/kernel/
Dobj_core.c131 if (obj_core->type->stats_desc == NULL) { in k_obj_core_stats_register()
134 } else if (obj_core->type->stats_desc->raw_size != stats_len) { in k_obj_core_stats_register()
152 if (obj_core->type->stats_desc == NULL) { in k_obj_core_stats_deregister()
173 desc = obj_core->type->stats_desc; in k_obj_core_stats_raw()
200 desc = obj_core->type->stats_desc; in k_obj_core_stats_query()
226 desc = obj_core->type->stats_desc; in k_obj_core_stats_reset()
249 desc = obj_core->type->stats_desc; in k_obj_core_stats_disable()
272 desc = obj_core->type->stats_desc; in k_obj_core_stats_enable()
/Zephyr-latest/include/zephyr/kernel/
Dobj_core.h116 struct k_obj_core_stats_desc *stats_desc; member
264 struct k_obj_core_stats_desc *stats_desc) in k_obj_type_stats_init() argument
266 type->stats_desc = stats_desc; in k_obj_type_stats_init()