Zephyr API Documentation  3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
k_obj_core_stats_desc Struct Reference

Object core statistics descriptor. More...

#include <obj_core.h>

Data Fields

size_t raw_size
 Internal representation stats buffer size.
 
size_t query_size
 Stats buffer size used for reporting.
 
int(* raw )(struct k_obj_core *obj_core, void *stats)
 Function pointer to retrieve internal representation of stats.
 
int(* query )(struct k_obj_core *obj_core, void *stats)
 Function pointer to retrieve reported statistics.
 
int(* reset )(struct k_obj_core *obj_core)
 Function pointer to reset object's statistics.
 
int(* disable )(struct k_obj_core *obj_core)
 Function pointer to disable object's statistics gathering.
 
int(* enable )(struct k_obj_core *obj_core)
 Function pointer to enable object's statistics gathering.
 

Detailed Description

Object core statistics descriptor.

Field Documentation

◆ disable

int(* k_obj_core_stats_desc::disable) (struct k_obj_core *obj_core)

Function pointer to disable object's statistics gathering.

◆ enable

int(* k_obj_core_stats_desc::enable) (struct k_obj_core *obj_core)

Function pointer to enable object's statistics gathering.

◆ query

int(* k_obj_core_stats_desc::query) (struct k_obj_core *obj_core, void *stats)

Function pointer to retrieve reported statistics.

◆ query_size

size_t k_obj_core_stats_desc::query_size

Stats buffer size used for reporting.

◆ raw

int(* k_obj_core_stats_desc::raw) (struct k_obj_core *obj_core, void *stats)

Function pointer to retrieve internal representation of stats.

◆ raw_size

size_t k_obj_core_stats_desc::raw_size

Internal representation stats buffer size.

◆ reset

int(* k_obj_core_stats_desc::reset) (struct k_obj_core *obj_core)

Function pointer to reset object's statistics.


The documentation for this struct was generated from the following file: