MB-20079: Use std::chrono::steady_clock (ProcessClock) 99/69899/2
authorDaniel Owen <owend@couchbase.com>
Tue, 15 Nov 2016 10:33:24 +0000 (10:33 +0000)
committerDave Rigby <daver@couchbase.com>
Wed, 16 Nov 2016 16:19:23 +0000 (16:19 +0000)
commitd8577c54a2b11a16a8b24d9057e0b98160ad5a07
tree9637e1f6e5fca869a4753e921cd499c7286e3f13
parent73c87f6a8bb48187212e2908152505d621156e26
MB-20079: Use std::chrono::steady_clock (ProcessClock)

Change task scheduling to use ProcessClock which is not
affected by changes to wall clock time.

Change-Id: I2fc9688abb782fe2c9e80efb6da840be3643d4a5
Reviewed-on: http://review.couchbase.org/69899
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Dave Rigby <daver@couchbase.com>
Reviewed-by: Jim Walker <jim@couchbase.com>
16 files changed:
src/ep.cc
src/ep.h
src/ep_engine.cc
src/ep_engine.h
src/executorpool.cc
src/executorthread.cc
src/executorthread.h
src/fakes/fake_executorpool.h
src/stats.h
src/syncobject.h
src/taskable.h
src/tasklogentry.h
src/taskqueue.cc
src/taskqueue.h
src/tasks.cc
src/tasks.h