]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
common/Timer: add SafeTimer::add_event_after() which accepts timespan
authorKefu Chai <kchai@redhat.com>
Sun, 6 Dec 2020 07:55:28 +0000 (15:55 +0800)
committerKefu Chai <kchai@redhat.com>
Sun, 6 Dec 2020 08:30:45 +0000 (16:30 +0800)
commitfcaf04715dec91304dc8641bf8caadd69101c0d5
treec5b97eaea218ce14c2ef9d7573071d51cb64149f
parent72f27fcdc837ee2679847fe41f8678b59a613394
common/Timer: add SafeTimer::add_event_after() which accepts timespan

easier to use when we are moving from the number of seconds to a
C++ timespan.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/common/Timer.cc
src/common/Timer.h