Don't print invalid performance data
commit1d2d95e3e34c79ca6360739a66f68e6be9270d33
authorMark Abraham <mark.j.abraham@gmail.com>
Fri, 20 Jan 2017 15:08:24 +0000 (20 16:08 +0100)
committerDavid van der Spoel <davidvanderspoel@gmail.com>
Mon, 30 Jan 2017 15:01:50 +0000 (30 16:01 +0100)
treed46a6a92106b9e9e5571db96bc4371b086adc954
parent6b3b74747baf10c65a5e548ed8ef13b9f5425375
Don't print invalid performance data

If mdrun finished before a scheduled reset of the timing information
(e.g. from mdrun -resetstep or mdrun -resethway), then misleading
timing information should not be reported.

Fixes #2041

Change-Id: I4bd4383c924a342c01e9a3f06b521da128f96a35
src/gromacs/mdlib/sim_util.cpp
src/gromacs/timing/walltime_accounting.cpp
src/gromacs/timing/walltime_accounting.h
src/programs/mdrun/md.cpp