+ fprintf(syncState->graphsStream, "\n");
+ pos1= ftell(syncState->graphsStream);
+ for (i= 0; i < syncState->traceNb; i++)
+ {
+ for (k= 0; k < sizeof(moduleGraphFunctions) /
+ sizeof(*moduleGraphFunctions); k++)
+ {
+ GraphVariableFunction** writeVariables= (void*)
+ moduleGraphFunctions[k] + offsetof(GraphFunctions,
+ writeVariables);
+
+ if (*writeVariables)
+ {
+ (*writeVariables)(syncState, i);
+ }
+ }
+ }
+ fflush(syncState->graphsStream);
+ pos2= ftell(syncState->graphsStream);
+ if (pos1 != pos2)
+ {
+ fprintf(syncState->graphsStream, "\n");
+ }
+