GitLab maintenance scheduled for Today, 2019-12-05, from 17:00 to 18:00 CT - Services will be unavailable during this time.

Commit 2d14002d authored by Shane Snyder's avatar Shane Snyder

don't update timers if timestamps are zero

parent 6d9894c4
......@@ -16,6 +16,8 @@
* I/O operation (which we don't want to overlap with).
*/
#define DARSHAN_TIMER_INC_NO_OVERLAP(__timer, __tm1, __tm2, __last) do{ \
if (__tm1 == 0.0 || __tm2 == 0.0) \
break; \
if(__tm1 > __last) \
__timer += (__tm2 - __tm1); \
else \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment