Perform trace factor reduction as a separate step
[lttv.git] / lttv / modules / text / sync_chain_batch.c
index 23d3e05f9c833aea7b7cca60d8fa0728c5b84a93..11c4f6368919f3e48b5da1c9ce1d30ddb0e0548f 100644 (file)
@@ -338,13 +338,12 @@ void teardownSyncChain(LttvTracesetContext* const traceSetContext)
        SyncState* syncState;
        struct timeval endTime;
        struct rusage endUsage;
-       unsigned int i;
        int retval;
 
        tracesetChainState= g_hash_table_lookup(tracesetChainStates, traceSetContext);
        syncState= tracesetChainState->syncState;
 
-       syncState->processingModule->finalizeProcessing(syncState);
+       freeAllFactors(syncState->processingModule->finalizeProcessing(syncState));
 
        // Write graphs file
        if (optionEvalGraphs)
@@ -359,19 +358,6 @@ void teardownSyncChain(LttvTracesetContext* const traceSetContext)
 
        printStats(syncState);
 
-       printf("Resulting synchronization factors:\n");
-    for (i= 0; i < syncState->traceNb; i++)
-    {
-        LttTrace* t;
-
-        t= traceSetContext->traces[i]->t;
-
-        printf("\ttrace %u drift= %g offset= %g (%f) start time= %ld.%09ld\n",
-            i, t->drift, t->offset, (double) tsc_to_uint64(t->freq_scale,
-                t->start_freq, t->offset) / NANOSECONDS_PER_SECOND,
-            t->start_time_from_tsc.tv_sec, t->start_time_from_tsc.tv_nsec);
-    }
-
        syncState->processingModule->destroyProcessing(syncState);
        if (syncState->matchingModule != NULL)
        {
This page took 0.022438 seconds and 4 git commands to generate.