- registerHooks(processingData->hookListList, traceSetContext,
- &processEventLTTVStandard, syncState,
- syncState->matchingModule->canMatch);
-}
-
-
-/*
- * Call the partial processing destroyer, obtain and adjust the factors from
- * downstream
- *
- * Args:
- * syncState container for synchronization data.
- */
-static void finalizeProcessingLTTVStandard(SyncState* const syncState)
-{
- unsigned int i;
- GArray* factors;
- double minOffset, minDrift;
- unsigned int refFreqTrace;
- ProcessingDataLTTVStandard* processingData;
-
- processingData= (ProcessingDataLTTVStandard*) syncState->processingData;
-
- partialDestroyProcessingLTTVStandard(syncState);
-
- factors= syncState->matchingModule->finalizeMatching(syncState);
-
- /* The offsets are adjusted so the lowest one is 0. This is done because
- * of a Lttv specific limitation: events cannot have negative times. By
- * having non-negative offsets, events cannot be moved backwards to
- * negative times.
- */
- minOffset= 0;
- for (i= 0; i < syncState->traceNb; i++)