X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=lttv%2Flttv%2Fsync%2Fevent_matching_broadcast.h;h=8006cdd1d33e8a99ef9c62cc03267487b5170ff0;hb=ffa21cfde7a086c1558b961ffa0fcbe75513a7f6;hp=3492f0a77d108ad5184b02b64cf7297cd0f50da1;hpb=1633c5a57a93a17f02858032c68f98f3d37890bc;p=lttv.git diff --git a/lttv/lttv/sync/event_matching_broadcast.h b/lttv/lttv/sync/event_matching_broadcast.h index 3492f0a7..8006cdd1 100644 --- a/lttv/lttv/sync/event_matching_broadcast.h +++ b/lttv/lttv/sync/event_matching_broadcast.h @@ -32,12 +32,37 @@ typedef struct totTransmit; } MatchingStatsBroadcast; +typedef struct +{ + /* This array is used for graphs. It contains file pointers to files where + * broadcast differential delay points are output. + * + * accuracyPoints is divided into three parts depending on the position of an + * element accuracyPoints[i][j]: + * Lower triangular part of the matrix + * i > j + * This contains the difference t[i] - t[j] between the times when + * a broadcast was received in trace i and trace j. + * Diagonal part of the matrix + * i = j + * This area is not allocated. + * Upper triangular part of the matrix + * i < j + * This area is not allocated. + */ + FILE*** accuracyPoints; + + // pointsNb[traceNum][traceNum] has the same structure as accuracyPoints + unsigned int** pointsNb; +} MatchingGraphsBroadcast; + typedef struct { // Broadcast* pendingBroadcasts[dataStart] GHashTable* pendingBroadcasts; MatchingStatsBroadcast* stats; + MatchingGraphsBroadcast* graphs; } MatchingDataBroadcast; #endif