GNUnet  0.20.0
SDHandle Struct Reference

Opaque handle for calculating SD. More...

Collaboration diagram for SDHandle:
[legend]

Data Fields

struct SDEntryhead
 DLL head for storing entries. More...
 
struct SDEntrytail
 DLL tail for storing entries. More...
 
unsigned long long sqsum
 Squared sum of data values. More...
 
unsigned long sum
 Sum of the data values. More...
 
float avg
 The average of data amounts. More...
 
double vr
 The variance. More...
 
unsigned int cnt
 Number of data values; also the length of DLL containing SDEntries. More...
 
unsigned int max_cnt
 max number of entries we can have in the DLL More...
 

Detailed Description

Opaque handle for calculating SD.

Definition at line 56 of file testbed_api_sd.c.

Field Documentation

◆ head

struct SDEntry* SDHandle::head

DLL head for storing entries.

Definition at line 61 of file testbed_api_sd.c.

◆ tail

struct SDEntry* SDHandle::tail

DLL tail for storing entries.

Definition at line 66 of file testbed_api_sd.c.

◆ sqsum

unsigned long long SDHandle::sqsum

Squared sum of data values.

Definition at line 71 of file testbed_api_sd.c.

◆ sum

unsigned long SDHandle::sum

Sum of the data values.

Definition at line 76 of file testbed_api_sd.c.

◆ avg

float SDHandle::avg

The average of data amounts.

Definition at line 81 of file testbed_api_sd.c.

◆ vr

double SDHandle::vr

The variance.

Definition at line 86 of file testbed_api_sd.c.

◆ cnt

unsigned int SDHandle::cnt

Number of data values; also the length of DLL containing SDEntries.

Definition at line 91 of file testbed_api_sd.c.

◆ max_cnt

unsigned int SDHandle::max_cnt

max number of entries we can have in the DLL

Definition at line 96 of file testbed_api_sd.c.

Referenced by GNUNET_TESTBED_SD_init_().


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