Do not use __attribute__((constructor))
[lttv.git] / lttv / lttv / sync / event_matching_tcp.h
index 19da807a5ad7fddcb33e2cf8e474cb2b8f2c4b26..9ec887a5351830f216a8891f25005ef91118f4dc 100644 (file)
 
 #include <glib.h>
 
-#include "data_structures_tcp.h"
+#include "data_structures.h"
 
 
 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,18 @@ 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;
 
+void registerMatchingTCP();
+
 #endif
This page took 0.023321 seconds and 4 git commands to generate.