]> vgcfreebox.myrthtech.pt Git - ue-pp-sortingalgorith.git/blobdiff - parallel-sorting.c
grooming repo
[ue-pp-sortingalgorith.git] / parallel-sorting.c
index 109b11668b3c403824240aaabade9ffec0e3f4d9..98200b4d51a2def0b69672a90f3040e56a4d7092 100644 (file)
@@ -204,12 +204,13 @@ int main(int argc, char *argv[]) {
     }
     struct timespec end_sort_time;
     clock_gettime(CLOCK_MONOTONIC, &end_sort_time);
-    // ------------------------------- END WALL CLOCK TIME ---------------------------------
-
+    
     // determine actual wall clock time
     double elapsed_time = (end_sort_time.tv_sec - start_sort_time.tv_sec);
     elapsed_time += (end_sort_time.tv_nsec - start_sort_time.tv_nsec) / 1e9;
+    // ------------------------------- END WALL CLOCK TIME ---------------------------------
 
+    
     if (!write_file(output_file)) {
         fprintf(stderr, "Failed to write output data.\n");
         free(data);