Motr  M0
m0_net_test_stats Struct Reference

#include <stats.h>

Collaboration diagram for m0_net_test_stats:
Collaboration graph

Data Fields

unsigned long nts_count
 
unsigned long nts_min
 
unsigned long nts_max
 
struct m0_uint128 nts_sum
 
struct m0_uint128 nts_sum_sqr
 

Detailed Description

This structure is used for statistics calculation and collecting. Min and max stored directly in this structure, average and standard deviation can be calculated using this structure. When the new value is added to sample, m0_net_test_stats is updating according to this.

Definition at line 88 of file stats.h.

Field Documentation

◆ nts_count

unsigned long nts_count

sample size

Definition at line 90 of file stats.h.

◆ nts_max

unsigned long nts_max

max value from sample

Definition at line 94 of file stats.h.

◆ nts_min

unsigned long nts_min

min value from sample

Definition at line 92 of file stats.h.

◆ nts_sum

struct m0_uint128 nts_sum

sum of all values from sample

Definition at line 96 of file stats.h.

◆ nts_sum_sqr

struct m0_uint128 nts_sum_sqr

sum of squares of all values from sample

Definition at line 98 of file stats.h.


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