Motr  M0
Stats Service

Data Structures

struct  m0_stats
 
struct  stats_svc
 
struct  stats_update_fom
 
struct  stats_query_fom
 

Macros

#define STATS_SVC_ALLOC_PTR(ptr)   M0_ALLOC_PTR(ptr)
 

Enumerations

enum  stats_update_fom_phases { STATS_UPDATE_FOM_INIT = M0_FOPH_INIT, STATS_UPDATE_FOM_FINISH = M0_FOPH_FINISH, STATS_UPDATE_FOM_UPDATE_OBJECT = M0_FOPH_NR + 1 }
 
enum  stats_query_fom_phases { STATS_QUERY_FOM_READ_OBJECT = M0_FOPH_NR + 1 }
 

Functions

M0_INTERNAL int m0_stats_svc_init (void)
 
M0_INTERNAL void m0_stats_svc_fini (void)
 
M0_INTERNAL struct m0_statsm0_stats_get (struct m0_tl *stats_list, uint64_t id)
 

Variables

struct m0_reqh_service_type m0_stats_svc_type
 
struct m0_stats M0_XCA_DOMAIN
 

Detailed Description

Macro Definition Documentation

◆ STATS_SVC_ALLOC_PTR

#define STATS_SVC_ALLOC_PTR (   ptr)    M0_ALLOC_PTR(ptr)

Definition at line 143 of file stats_srv.h.

Enumeration Type Documentation

◆ stats_query_fom_phases

Enumerator
STATS_QUERY_FOM_READ_OBJECT 

Definition at line 126 of file stats_srv.h.

◆ stats_update_fom_phases

Enumerator
STATS_UPDATE_FOM_INIT 
STATS_UPDATE_FOM_FINISH 
STATS_UPDATE_FOM_UPDATE_OBJECT 

Definition at line 112 of file stats_srv.h.

Function Documentation

◆ m0_stats_get()

M0_INTERNAL struct m0_stats* m0_stats_get ( struct m0_tl stats_list,
uint64_t  id 
)

Definition at line 371 of file stats_srv.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ m0_stats_svc_fini()

M0_INTERNAL void m0_stats_svc_fini ( void  )

Finalize stats service.

Definition at line 313 of file stats_srv.c.

Here is the call graph for this function:

◆ m0_stats_svc_init()

M0_INTERNAL int m0_stats_svc_init ( void  )

Initialize stats service.

Definition at line 307 of file stats_srv.c.

Here is the call graph for this function:

Variable Documentation

◆ m0_stats_svc_type

struct m0_reqh_service_type m0_stats_svc_type

Definition at line 297 of file stats_srv.c.

◆ M0_XCA_DOMAIN

struct m0_stats M0_XCA_DOMAIN