+/*
+ * Calculate the elapsed time between two timeval values
+ *
+ * Args:
+ * syncState: Container for synchronization data
+ */
+void printStats(SyncState* const syncState)
+{
+ if (syncState->processingModule->printProcessingStats != NULL)
+ {
+ syncState->processingModule->printProcessingStats(syncState);
+ }
+ if (syncState->matchingModule->printMatchingStats != NULL)
+ {
+ syncState->matchingModule->printMatchingStats(syncState);
+ }
+ if (syncState->analysisModule->printAnalysisStats != NULL)
+ {
+ syncState->analysisModule->printAnalysisStats(syncState);
+ }
+}
+
+