Perform trace factor reduction as a separate step
authorBenjamin Poirier <benjamin.poirier@polymtl.ca>
Mon, 22 Mar 2010 21:27:22 +0000 (17:27 -0400)
committerBenjamin Poirier <benjamin.poirier@polymtl.ca>
Wed, 7 Apr 2010 16:11:38 +0000 (12:11 -0400)
commit0a87ec9a018cc9731ce3b04309eaa4dcc77df6d2
treee0ef1402fc2e04cd979d48649ed5d59f9244d47d
parent9c7696b8589e76aed870b15cabd09a162d468621
Perform trace factor reduction as a separate step

This avoids duplicating the factor reduction (or "propagation") code in every
analysis module. Instead, analysis modules return synchronization factors for
every pair of traces and reduction is performed separately from the analysis.

If a trace pair doesn't have factors but the inverse pair does (ie. no factors
to convert the time from trace 1 to 0 but there are factors to convert the
time from trace 0 to 1), the factors from the inverted pair are used (after
being inverted themselves).

Signed-off-by: Benjamin Poirier <benjamin.poirier@polymtl.ca>
23 files changed:
lttv/lttv/sync/data_structures.c
lttv/lttv/sync/data_structures.h
lttv/lttv/sync/event_analysis.h
lttv/lttv/sync/event_analysis_chull.c
lttv/lttv/sync/event_analysis_chull.h
lttv/lttv/sync/event_analysis_eval.c
lttv/lttv/sync/event_analysis_eval.h
lttv/lttv/sync/event_analysis_linreg.c
lttv/lttv/sync/event_analysis_linreg.h
lttv/lttv/sync/event_matching.h
lttv/lttv/sync/event_matching_broadcast.c
lttv/lttv/sync/event_matching_distributor.c
lttv/lttv/sync/event_matching_tcp.c
lttv/lttv/sync/event_processing.h
lttv/lttv/sync/event_processing_lttng_null.c
lttv/lttv/sync/event_processing_lttng_standard.c
lttv/lttv/sync/event_processing_text.c
lttv/lttv/sync/event_processing_text.h
lttv/lttv/sync/sync_chain.c
lttv/lttv/sync/sync_chain.h
lttv/lttv/sync/sync_chain_lttv.c
lttv/lttv/sync/sync_chain_unittest.c
lttv/modules/text/sync_chain_batch.c
This page took 0.025632 seconds and 4 git commands to generate.