SDHandle Struct Reference

Opaque handle for calculating SD. More...

Collaboration diagram for SDHandle:

## Data Fields | |

struct SDEntry * | head |

DLL head for storing entries. More... | |

struct SDEntry * | tail |

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... | |

Opaque handle for calculating SD.

Definition at line 56 of file testbed_api_sd.c.

struct SDEntry* SDHandle::head |

DLL head for storing entries.

Definition at line 61 of file testbed_api_sd.c.

struct SDEntry* SDHandle::tail |

DLL tail for storing entries.

Definition at line 66 of file testbed_api_sd.c.

unsigned long long SDHandle::sqsum |

Squared sum of data values.

Definition at line 71 of file testbed_api_sd.c.

unsigned long SDHandle::sum |

Sum of the data values.

Definition at line 76 of file testbed_api_sd.c.

float SDHandle::avg |

The average of data amounts.

Definition at line 81 of file testbed_api_sd.c.

double SDHandle::vr |

The variance.

Definition at line 86 of file testbed_api_sd.c.

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.

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:

- src/testbed/testbed_api_sd.c