]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
common/ceph_time: print {milli,nano}seconds as float 38878/head
authorKefu Chai <kchai@redhat.com>
Wed, 13 Jan 2021 05:58:48 +0000 (13:58 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 13 Jan 2021 07:20:24 +0000 (15:20 +0800)
commitfd56f7e646cfc065e8d72e93d1a40e67e1ae62f0
tree9c1ecc1274a26f84ac126eda86c75c4b697ff28c
parentdd0ad25540f651aa709e2f328c27dcf3b65a6eae
common/ceph_time: print {milli,nano}seconds as float

this change fixes the regression introduced by
6e1d42ca004ae191c445dac41606142c376124b1

add unit test for verifying 'operator<<' as well.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/common/ceph_time.cc
src/test/common/test_time.cc