MCPcopy Create free account
hub / github.com/ceph/ceph / add_event

Method add_event

src/common/ceph_timer.h:200–205  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

198 // Schedule an event in the relative future
199 template<typename Callable, typename... Args>
200 std::uint64_t add_event(typename TC::duration duration,
201 Callable&& f, Args&&... args) {
202 return add_event(TC::now() + duration,
203 std::forward<Callable>(f),
204 std::forward<Args>(args)...);
205 }
206
207 // Schedule an event in the absolute future
208 template<typename Callable, typename... Args>

Callers

nothing calls this directly

Calls 6

bindClass · 0.85
nowFunction · 0.50
insertMethod · 0.45
releaseMethod · 0.45
beginMethod · 0.45
notify_oneMethod · 0.45

Tested by

no test coverage detected