Motr  M0
m0_proc_counter Struct Reference

#include <spiel.h>

Collaboration diagram for m0_proc_counter:
Collaboration graph

Data Fields

int pc_rc
 
uint32_t pc_cnt
 
struct m0_fid pc_proc_fid
 
struct m0_spiel_bckey ** pc_bckey
 
struct m0_spiel_bcrec ** pc_bcrec
 

Detailed Description

Holds counters stats fetched from a target ioservice. Stats of an ioservice's btree are dumped into an array of key-value pairs. The keys and values are index mapped, ie. pc_bcrec[i] will hold values for pc_bckey[i]. m0_spiel_proc_counters_fetch() will allocate and fill the key and value arrays.

Definition at line 1277 of file spiel.h.

Field Documentation

◆ pc_bckey

struct m0_spiel_bckey** pc_bckey

Definition at line 1281 of file spiel.h.

◆ pc_bcrec

struct m0_spiel_bcrec** pc_bcrec

Definition at line 1282 of file spiel.h.

◆ pc_cnt

uint32_t pc_cnt

Definition at line 1279 of file spiel.h.

◆ pc_proc_fid

struct m0_fid pc_proc_fid

Length of Key and Value arrays

Definition at line 1280 of file spiel.h.

◆ pc_rc

int pc_rc

Definition at line 1278 of file spiel.h.


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