1 /* This file is part of the Linux Trace Toolkit viewer
2 * Copyright (C) 2009, 2010 Benjamin Poirier <benjamin.poirier@polymtl.ca>
4 * This program is free software: you can redistribute it and/or modify it
5 * under the terms of the GNU Lesser General Public License as published by
6 * the Free Software Foundation, either version 2.1 of the License, or (at
7 * your option) any later version.
9 * This program is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
12 * License for more details.
14 * You should have received a copy of the GNU Lesser General Public License
15 * along with this program. If not, see <http://www.gnu.org/licenses/>.
24 #include "event_processing.h"
25 #include "event_matching.h"
26 #include "event_analysis.h"
27 #include "factor_reduction.h"
29 typedef struct _SyncState
34 const char* graphsDir
;
36 const ProcessingModule
* processingModule
;
38 const MatchingModule
* matchingModule
;
40 const AnalysisModule
* analysisModule
;
42 const ReductionModule
* reductionModule
;
54 HAS_ARG_COUNT
// This must be the last field
57 // in the case of OPTIONAL_ARG, arg can be initialized to a default value.
58 // If an argument is present, arg will be modified
60 const char* optionHelp
;
65 extern GQueue processingModules
;
66 extern GQueue matchingModules
;
67 extern GQueue analysisModules
;
68 extern GQueue reductionModules
;
70 extern GQueue moduleOptions
;
72 void printStats(SyncState
* const syncState
);
74 void timeDiff(struct timeval
* const end
, const struct timeval
* const start
);
76 gint
gcfCompareProcessing(gconstpointer a
, gconstpointer b
);
77 gint
gcfCompareMatching(gconstpointer a
, gconstpointer b
);
78 gint
gcfCompareAnalysis(gconstpointer a
, gconstpointer b
);
79 gint
gcfCompareReduction(gconstpointer a
, gconstpointer b
);
80 void gfAppendAnalysisName(gpointer data
, gpointer user_data
);
81 void gfAppendReductionName(gpointer data
, gpointer user_data
);
This page took 0.030705 seconds and 4 git commands to generate.