X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=lttv%2Flttv%2Fsync%2Fevent_processing.h;h=44a2c4cf43701150e8b1eab9c8059321a7f2e0d6;hb=10341d26543c63ff318a4cf5cb163bccdc58b19d;hp=bbaae74cee28595471403111af6d394d4ce10578;hpb=70407e861d8430dbe06cc52e6fe4ed5c9cd0872a;p=lttv.git diff --git a/lttv/lttv/sync/event_processing.h b/lttv/lttv/sync/event_processing.h index bbaae74c..44a2c4cf 100644 --- a/lttv/lttv/sync/event_processing.h +++ b/lttv/lttv/sync/event_processing.h @@ -20,10 +20,11 @@ #define EVENT_PROCESSING_H #include +#include #include -#include "data_structures_tcp.h" +#include "data_structures.h" struct _SyncState; @@ -37,7 +38,17 @@ typedef struct void (*destroyProcessing)(struct _SyncState* const syncState); void (*finalizeProcessing)(struct _SyncState* const syncState); + void (*printProcessingStats)(struct _SyncState* const syncState); + + /* The processing module must provide the next function if it wishes + * graphs to be created at all. If it provides the next function, it must + * also provide the second next function. + */ + void (*writeProcessingGraphsPlots)(FILE* stream, struct _SyncState* const + syncState, const unsigned int i, const unsigned int j); + void (*writeProcessingGraphsOptions)(FILE* stream, struct _SyncState* + const syncState, const unsigned int i, const unsigned int j); } ProcessingModule; #endif