From e96ed88f09628976d17fa4820b1d6deaf6cedf4a Mon Sep 17 00:00:00 2001 From: Benjamin Poirier Date: Fri, 13 Nov 2009 12:06:09 -0500 Subject: [PATCH] Do not use LttCycleCount elsewhere than in processing_lttv Signed-off-by: Benjamin Poirier --- lttv/lttv/sync/data_structures.h | 2 -- lttv/lttv/sync/event_analysis_chull.h | 2 +- lttv/lttv/sync/event_analysis_eval.h | 8 ++++---- lttv/lttv/sync/event_matching_tcp.c | 2 +- 4 files changed, 6 insertions(+), 8 deletions(-) diff --git a/lttv/lttv/sync/data_structures.h b/lttv/lttv/sync/data_structures.h index b6bc8980..697f29a6 100644 --- a/lttv/lttv/sync/data_structures.h +++ b/lttv/lttv/sync/data_structures.h @@ -23,8 +23,6 @@ #include #include -#include - enum Direction { diff --git a/lttv/lttv/sync/event_analysis_chull.h b/lttv/lttv/sync/event_analysis_chull.h index 3059cf50..c9e82457 100644 --- a/lttv/lttv/sync/event_analysis_chull.h +++ b/lttv/lttv/sync/event_analysis_chull.h @@ -26,7 +26,7 @@ typedef struct { - LttCycleCount x, y; + uint64_t x, y; } Point; diff --git a/lttv/lttv/sync/event_analysis_eval.h b/lttv/lttv/sync/event_analysis_eval.h index d30fb1ef..b02c7721 100644 --- a/lttv/lttv/sync/event_analysis_eval.h +++ b/lttv/lttv/sync/event_analysis_eval.h @@ -70,9 +70,9 @@ struct Bins typedef struct { /* File pointers to files where "trip times" (message latency) histogram - * values are outputted. Each host-pair has two files, one for each - * message direction. As for traces, the host with the smallest address - * is considered to be the reference for the direction of messages (ie. + * values are output. Each host-pair has two files, one for each message + * direction. As for traces, the host with the smallest address is + * considered to be the reference for the direction of messages (ie. * messages from the host with the lowest address to the host with the * largest address are "sent"). */ FILE* ttSendPoints; @@ -82,7 +82,7 @@ typedef struct struct Bins ttRecvBins; /* File pointers to files where half round trip times (evaluated from - * exchanges) histogram values are outputted. */ + * exchanges) histogram values are output. */ FILE* hrttPoints; struct Bins hrttBins; diff --git a/lttv/lttv/sync/event_matching_tcp.c b/lttv/lttv/sync/event_matching_tcp.c index 9c3e6a9d..3bfe479e 100644 --- a/lttv/lttv/sync/event_matching_tcp.c +++ b/lttv/lttv/sync/event_matching_tcp.c @@ -634,7 +634,7 @@ static void openGraphDataFiles(SyncState* const syncState) */ static void writeMessagePoint(FILE* stream, const Message* const message) { - LttCycleCount x, y; + uint64_t x, y; if (message->inE->traceNum < message->outE->traceNum) { -- 2.34.1