]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
log: Create log_clock to replace use of utime_t
authorAdam C. Emerson <aemerson@redhat.com>
Thu, 5 Oct 2017 22:17:16 +0000 (18:17 -0400)
committerAdam C. Emerson <aemerson@redhat.com>
Fri, 6 Oct 2017 21:29:06 +0000 (17:29 -0400)
commit7b0168c5ddb054eb375266f473f8b757d7ca5e9e
tree447d31e049d7bb06d61372e301b667b6b8df3c50
parentb4e4ad3b855f86d2d6f7d07c670c79e3dab59655
log: Create log_clock to replace use of utime_t

We create a new time type to support using coarse timestamps (for
performance) by default while still allowing the user to switch to
fine timestamps.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
src/common/ceph_time.cc
src/log/LogClock.h [new file with mode: 0644]