Store graph callbacks in a structure
[lttv.git] / lttv / lttv / sync / event_analysis.h
index 0a32fe1c65bf790713034c2dd846d31750e97c45..4c89aca90ba0ec8ae7cb8b99549538f2cab5c3aa 100644 (file)
@@ -23,6 +23,7 @@
 #include <stdio.h>
 
 #include "data_structures.h"
+#include "graph_functions.h"
 
 
 struct _SyncState;
@@ -41,11 +42,9 @@ typedef struct
        void (*analyzeBroadcast)(struct _SyncState* const syncState, Broadcast* const
                broadcast);
        GArray* (*finalizeAnalysis)(struct _SyncState* const syncState);
+
        void (*printAnalysisStats)(struct _SyncState* const syncState);
-       void (*writeAnalysisGraphsPlots)(struct _SyncState* const syncState, const
-               unsigned int i, const unsigned int j);
-       void (*writeAnalysisGraphsOptions)(struct _SyncState* const syncState,
-               const unsigned int i, const unsigned int j);
+       GraphFunctions graphFunctions;
 } AnalysisModule;
 
 #endif
This page took 0.022188 seconds and 4 git commands to generate.