X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=lttv%2Flttv%2Fsync%2Fsync_chain.h;h=e479f1e743601c0c6ea30809e00f05f5f13c581d;hb=b2da0724a95cdb911c07640268b65bd9c5b92010;hp=8a6977c8cdba64a72d04c6bf83d85518c2779b32;hpb=0a87ec9a018cc9731ce3b04309eaa4dcc77df6d2;p=lttv.git diff --git a/lttv/lttv/sync/sync_chain.h b/lttv/lttv/sync/sync_chain.h index 8a6977c8..e479f1e7 100644 --- a/lttv/lttv/sync/sync_chain.h +++ b/lttv/lttv/sync/sync_chain.h @@ -24,6 +24,7 @@ #include "event_processing.h" #include "event_matching.h" #include "event_analysis.h" +#include "factor_reduction.h" typedef struct _SyncState { @@ -38,6 +39,8 @@ typedef struct _SyncState void* matchingData; const AnalysisModule* analysisModule; void* analysisData; + const ReductionModule* reductionModule; + void* reductionData; } SyncState; typedef struct @@ -62,17 +65,19 @@ typedef struct extern GQueue processingModules; extern GQueue matchingModules; extern GQueue analysisModules; +extern GQueue reductionModules; + extern GQueue moduleOptions; void printStats(SyncState* const syncState); void timeDiff(struct timeval* const end, const struct timeval* const start); -GArray* reduceFactors(AllFactors* allFactors); - gint gcfCompareProcessing(gconstpointer a, gconstpointer b); gint gcfCompareMatching(gconstpointer a, gconstpointer b); gint gcfCompareAnalysis(gconstpointer a, gconstpointer b); +gint gcfCompareReduction(gconstpointer a, gconstpointer b); void gfAppendAnalysisName(gpointer data, gpointer user_data); +void gfAppendReductionName(gpointer data, gpointer user_data); #endif