#include "data_structures.h"
+struct RttKey
+{
+ uint32_t saddr, daddr;
+};
+
typedef struct
{
unsigned int inversionNb,
tooFastNb,
- noRTTInfoNb;
-} TracePairStats;
+ noRTTInfoNb,
+ total;
+} MessageStats;
typedef struct
{
double broadcastDiffSum;
- TracePairStats** allStats;
-} AnalysisStatsEval;
+ unsigned int broadcastNb;
-struct RttKey
-{
- uint32_t saddr, daddr;
-};
+ MessageStats** messageStats;
+ /* double* exchangeRtt[RttKey]
+ * For this table, saddr and daddr are swapped as necessary such that
+ * saddr < daddr */
+ GHashTable* exchangeRtt;
+} AnalysisStatsEval;
typedef struct
{