projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move and update documentation
[lttv.git]
/
lttv
/
lttv
/
sync
/
factor_reduction.h
diff --git
a/lttv/lttv/sync/factor_reduction.h
b/lttv/lttv/sync/factor_reduction.h
index 249b84acce8031c801f8ac26dfd52c81b8faaa91..561df6baccf245d4a7e6c1ac6e0c7fedd37a7217 100644
(file)
--- a/
lttv/lttv/sync/factor_reduction.h
+++ b/
lttv/lttv/sync/factor_reduction.h
@@
-28,13
+28,34
@@
typedef struct
{
char* name;
{
char* name;
+ /*
+ * This function is called at the beginning of a synchronization run for a
+ * set of traces. Allocate some reduction specific data structures.
+ */
void (*initReduction)(struct _SyncState* const syncState);
void (*initReduction)(struct _SyncState* const syncState);
+
+ /*
+ * Free the reduction specific data structures
+ */
void (*destroyReduction)(struct _SyncState* const syncState);
void (*destroyReduction)(struct _SyncState* const syncState);
+ /*
+ * Convert trace pair synchronization factors to a resulting offset and
+ * drift for each trace.
+ */
GArray* (*finalizeReduction)(struct _SyncState* const syncState,
AllFactors* allFactors);
GArray* (*finalizeReduction)(struct _SyncState* const syncState,
AllFactors* allFactors);
+ /*
+ * Print statistics related to reduction. Is always called after
+ * finalizeReduction.
+ */
void (*printReductionStats)(struct _SyncState* const syncState);
void (*printReductionStats)(struct _SyncState* const syncState);
+
+ /*
+ * Write the reduction-specific options and graph commands in the gnuplot
+ * script. Is always called after finalizeReduction.
+ */
GraphFunctions graphFunctions;
} ReductionModule;
GraphFunctions graphFunctions;
} ReductionModule;
This page took
0.023113 seconds
and
4
git commands to generate.