MCPcopy Create free account
hub / github.com/catboost/catboost / SleepD

Method SleepD

library/cpp/coroutine/engine/impl.cpp:69–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67}
68
69int TCont::SleepD(TInstant deadline) noexcept {
70 TTimerEvent event(this, deadline);
71
72 return ExecuteEvent(&event);
73}
74
75void TCont::Switch() noexcept {
76 Executor()->RunScheduler();

Callers 5

WaitDMethod · 0.80
operator()Method · 0.80
DoSubCFunction · 0.80
TestOverrideTimeMethod · 0.80

Calls 1

ExecuteEventFunction · 0.85

Tested by 2

TestOverrideTimeMethod · 0.64