Parallel Programming - Stuff happened
[matches/honours.git] / course / semester2 / pprog / assignment1 / openmp / nbody.c
index c487201..1d2f369 100644 (file)
@@ -133,6 +133,8 @@ void Compute(void)
  */
 void BeforeDraw()
 {
+       if (options.verbosity != 0 && universe.steps % options.verbosity == 0)
+               DisplayStatistics();
        if (!options.pedantic_graphics)
                return;
        while (graphics_busy == false);

UCC git Repository :: git.ucc.asn.au