Motr  M0
m0_net_qstats Struct Reference

#include <net.h>

Collaboration diagram for m0_net_qstats:
Collaboration graph

Data Fields

uint64_t nqs_num_adds
 
uint64_t nqs_num_dels
 
uint64_t nqs_num_s_events
 
uint64_t nqs_num_f_events
 
m0_time_t nqs_time_in_queue
 
uint64_t nqs_total_bytes
 
uint64_t nqs_max_bytes
 

Detailed Description

Statistical data maintained for each transfer machine queue. It is up to the higher level layers to retrieve the data and reset the statistical counters.

Definition at line 760 of file net.h.

Field Documentation

◆ nqs_max_bytes

uint64_t nqs_max_bytes

The maximum number of bytes processed in a single buffer in the queue. Computed at completion.

Definition at line 804 of file net.h.

◆ nqs_num_adds

uint64_t nqs_num_adds

The number of add operations performed.

Definition at line 764 of file net.h.

◆ nqs_num_dels

uint64_t nqs_num_dels

The number of del operations performed.

Definition at line 769 of file net.h.

◆ nqs_num_f_events

uint64_t nqs_num_f_events

The number of failure events posted on buffers in the queue.

In the case of the M0_NET_QT_MSG_RECV queue the failure counter is also incremented when auto-provisioning fails, with an increment equal to the number of buffers required to fill the queue to its minimal level.

Definition at line 784 of file net.h.

◆ nqs_num_s_events

uint64_t nqs_num_s_events

The number of successful events posted on buffers in the queue.

Definition at line 774 of file net.h.

◆ nqs_time_in_queue

m0_time_t nqs_time_in_queue

The total of time spent in the queue by all buffers measured from when they were added to the queue to the time their completion event got posted.

Definition at line 791 of file net.h.

◆ nqs_total_bytes

uint64_t nqs_total_bytes

The total number of bytes processed by buffers in the queue. Computed at completion.

Definition at line 797 of file net.h.


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