Perform factor reduction as a modular step
[lttv.git] / lttv / lttv / sync / sync_chain.h
index 8a6977c8cdba64a72d04c6bf83d85518c2779b32..e479f1e743601c0c6ea30809e00f05f5f13c581d 100644 (file)
@@ -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
This page took 0.023722 seconds and 4 git commands to generate.