Joe McDonnell has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/12091


Change subject: IMPALA-7963: Don't underflow uint64_t when time goes backwards
......................................................................

IMPALA-7963: Don't underflow uint64_t when time goes backwards

Some tests on Centos 6 have shown small backwards time drifts.
In this case, MonotonicStopWatch currently underflows a uint64_t
and returns a very large value from RunningTime(). This changes
RunningTime() to return 0 when end < start_.

Change-Id: Ifa2abbbabe340b3c5f1dbec613219bc964f15747
---
M be/src/util/stopwatch.h
1 file changed, 3 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/91/12091/1
--
To view, visit http://gerrit.cloudera.org:8080/12091
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ifa2abbbabe340b3c5f1dbec613219bc964f15747
Gerrit-Change-Number: 12091
Gerrit-PatchSet: 1
Gerrit-Owner: Joe McDonnell <[email protected]>

Reply via email to