Add convex hull algorithm-based synchronization
[lttv.git] / lttv / lttv / sync / event_matching_tcp.h
index 19da807a5ad7fddcb33e2cf8e474cb2b8f2c4b26..f0ce62250b37dd07074b838d9bfc97b4e120cd3a 100644 (file)
 
 typedef struct
 {
-       int totPacket,
+       unsigned int totPacket,
                totPacketNeedAck,
                totExchangeEffective,
                totExchangeSync;
+       /* The structure of the array is the same as for hullArray in
+        * analysis_chull, messagePoints[row][col] where:
+        *   row= inE->traceNum
+        *   col= outE->traceNum
+        */
+       unsigned int** totMessageArray;
 } MatchingStatsTCP;
 
 typedef struct
@@ -42,6 +48,16 @@ typedef struct
        GHashTable* unAcked;
 
        MatchingStatsTCP* stats;
+       /* This array is used for graphs. It contains file pointers to files where
+        * messages x-y points are outputed. Each trace-pair has two files, one
+        * for each message direction. The structure of the array is the same as
+        * for hullArray in analysis_chull, messagePoints[row][col] where:
+        *   row= inE->traceNum
+        *   col= outE->traceNum
+        *
+        * The elements on the diagonal are not initialized.
+        */
+       FILE*** messagePoints;
 } MatchingDataTCP;
 
 #endif
This page took 0.023284 seconds and 4 git commands to generate.