git.ucc.asn.au
/
matches
/
honours.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Parallel Programming - Stuff happened
[matches/honours.git]
/
course
/
semester2
/
pprog
/
assignment1
/
openmp
/
nbody.c
diff --git
a/course/semester2/pprog/assignment1/openmp/nbody.c
b/course/semester2/pprog/assignment1/openmp/nbody.c
index
c487201
..
1d2f369
100644
(file)
--- a/
course/semester2/pprog/assignment1/openmp/nbody.c
+++ b/
course/semester2/pprog/assignment1/openmp/nbody.c
@@
-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