5d10a08bf6b696178351b2e7043df4b8ba8b792c
1 /* This file is part of the Linux Trace Toolkit viewer
2 * Copyright (C) 2009 Benjamin Poirier <benjamin.poirier@polymtl.ca>
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License Version 2 as
6 * published by the Free Software Foundation;
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
13 * You should have received a copy of the GNU General Public License
14 * along with this program; if not, write to the Free Software
15 * Foundation, Inc., 59 Temple Place - Suite 330, Boston,
25 #include "event_processing.h"
26 #include "event_matching.h"
27 #include "event_analysis.h"
29 typedef struct _SyncState
34 const char* graphsDir
;
36 const ProcessingModule
* processingModule
;
38 const MatchingModule
* matchingModule
;
40 const AnalysisModule
* analysisModule
;
52 HAS_ARG_COUNT
// This must be the last field
55 // in the case of OPTIONAL_ARG, arg can be initialized to a default value.
56 // If an argument is present, arg will be modified
58 const char* optionHelp
;
63 extern GQueue processingModules
;
64 extern GQueue matchingModules
;
65 extern GQueue analysisModules
;
66 extern GQueue moduleOptions
;
68 void printStats(SyncState
* const syncState
);
70 void timeDiff(struct timeval
* const end
, const struct timeval
* const start
);
72 gint
gcfCompareProcessing(gconstpointer a
, gconstpointer b
);
73 gint
gcfCompareMatching(gconstpointer a
, gconstpointer b
);
74 gint
gcfCompareAnalysis(gconstpointer a
, gconstpointer b
);
75 void gfAppendAnalysisName(gpointer data
, gpointer user_data
);
This page took 0.032229 seconds and 4 git commands to generate.