X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=lttv%2Flttv%2Fsync%2Fevent_matching_tcp.h;h=2687aa2117416cbc5d1b6047f102cbfe8c38402a;hb=86d5459b882f9874a61c1266c8c12478e1448377;hp=19da807a5ad7fddcb33e2cf8e474cb2b8f2c4b26;hpb=70407e861d8430dbe06cc52e6fe4ed5c9cd0872a;p=lttv.git diff --git a/lttv/lttv/sync/event_matching_tcp.h b/lttv/lttv/sync/event_matching_tcp.h index 19da807a..2687aa21 100644 --- a/lttv/lttv/sync/event_matching_tcp.h +++ b/lttv/lttv/sync/event_matching_tcp.h @@ -21,15 +21,21 @@ #include -#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,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