- if (syncState->matchingModule->writeMatchingGraphsOptions != NULL)
- {
- syncState->matchingModule->writeMatchingGraphsOptions(stream,
- syncState, i, j);
- }
+
+/*
+ * Write the processing-specific options in the gnuplot script.
+ *
+ * Args:
+ * syncState: container for synchronization data
+ * i: first trace number
+ * j: second trace number, garanteed to be larger than i
+ */
+static void writeProcessingTraceTimeOptionsLTTVStandard(SyncState* const
+ syncState, const unsigned int i, const unsigned int j)
+{
+ ProcessingDataLTTVStandard* processingData;
+ ProcessingGraphsLTTVStandard* traceI, * traceJ;
+
+ processingData= (ProcessingDataLTTVStandard*) syncState->processingData;
+
+ traceI= &processingData->graphs[i];
+ traceJ= &processingData->graphs[j];
+
+ fprintf(syncState->graphsStream,
+ "set key inside right bottom\n"
+ "set xlabel \"Clock %1$u\"\n"
+ "set xtics nomirror\n"
+ "set ylabel \"time (s)\"\n"
+ "set ytics nomirror\n"
+ "set x2label \"Clock %1$d (s)\"\n"
+ "set x2range [GPVAL_X_MIN / clock_freq_%1$u : GPVAL_X_MAX / clock_freq_%1$u]\n"
+ "set x2tics\n", i);