Add note about correct calling of wallcycle counter
authorMark Abraham <mark.j.abraham@gmail.com>
Fri, 16 May 2014 11:05:27 +0000 (13:05 +0200)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Tue, 20 May 2014 08:12:38 +0000 (10:12 +0200)
commit91c7e3a54be5e2fbfdd863156e58b3e3a1e39171
treea555908645dc16efe9f935b08bb8298e1189974e
parent1c7cdced25eeff6255644e68ba7f99d2098a1966
Add note about correct calling of wallcycle counter

The code could be refactored to use a series of explicit OpenMP
barriers so that the wallcycle_start/stop are more clearly matched,
but that's too hard for now. The comments make it harder for anyone
to misunderstand or mistakenly change the code.

Change-Id: Iec00e50e26a60efe09afb6f5744d401a9d9c06a3
src/gromacs/mdlib/pme.c