projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
initProcessing takes a va_arg rather than an lttv-specific type
[lttv.git]
/
lttv
/
lttv
/
sync
/
sync_chain.h
diff --git
a/lttv/lttv/sync/sync_chain.h
b/lttv/lttv/sync/sync_chain.h
index 152d1321469bc0ecd9919d2781fbfa841acd1dc9..852e8e4a0ad855f448f6ee210e3dd23534ca0541 100644
(file)
--- a/
lttv/lttv/sync/sync_chain.h
+++ b/
lttv/lttv/sync/sync_chain.h
@@
-20,6
+20,7
@@
#define SYNC_CHAIN_H
#include <glib.h>
#define SYNC_CHAIN_H
#include <glib.h>
+#include <sys/time.h>
#include "event_processing.h"
#include "event_matching.h"
#include "event_processing.h"
#include "event_matching.h"
@@
-29,7
+30,8
@@
typedef struct _SyncState
{
unsigned int traceNb;
bool stats;
{
unsigned int traceNb;
bool stats;
- char* graphs;
+ FILE* graphsStream;
+ const char* graphsDir;
const ProcessingModule* processingModule;
void* processingData;
const ProcessingModule* processingModule;
void* processingData;
@@
-39,13
+41,35
@@
typedef struct _SyncState
void* analysisData;
} SyncState;
void* analysisData;
} SyncState;
+typedef struct
+{
+ const char* longName;
+ enum {
+ NO_ARG,
+ REQUIRED_ARG,
+ //OPTIONAL_ARG, // Not yet implemented because not supported by LTTV
+ HAS_ARG_COUNT // This must be the last field
+ } hasArg;
+ union
+ {
+ bool present;
+ const char* arg;
+ };
+ const char* optionHelp;
+ const char* argHelp;
+} ModuleOption;
+
+
extern GQueue processingModules;
extern GQueue matchingModules;
extern GQueue analysisModules;
extern GQueue processingModules;
extern GQueue matchingModules;
extern GQueue analysisModules;
+extern GQueue moduleOptions;
-void
syncTraceset(LttvTracesetContext* const traceSetContex
t);
+void
timeDiff(struct timeval* const end, const struct timeval* const star
t);
-char* changeToGraphDir(char* const graphs);
+gint gcfCompareProcessing(gconstpointer a, gconstpointer b);
+gint gcfCompareMatching(gconstpointer a, gconstpointer b);
+gint gcfCompareAnalysis(gconstpointer a, gconstpointer b);
#endif
#endif
This page took
0.023619 seconds
and
4
git commands to generate.