MCPcopy Create free account
hub / github.com/apache/thrift / add

Method add

lib/cpp/src/thrift/concurrency/TimerManager.cpp:241–243  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

239}
240
241TimerManager::Timer TimerManager::add(shared_ptr<Runnable> task, const std::chrono::milliseconds &timeout) {
242 return add(task, std::chrono::steady_clock::now() + timeout);
243}
244
245TimerManager::Timer TimerManager::add(shared_ptr<Runnable> task,
246 const std::chrono::time_point<std::chrono::steady_clock>& abstime) {

Callers 15

runMethod · 0.45
TransportTest.cppFile · 0.45
addTestBlockingFunction · 0.45
init_unit_test_suiteFunction · 0.45
init_unit_test_suiteFunction · 0.45
test00Method · 0.45
test01Method · 0.45
test02Method · 0.45
test03Method · 0.45
test04Method · 0.45
loadTestMethod · 0.45

Calls 5

nowFunction · 0.85
beginMethod · 0.45
notifyMethod · 0.45

Tested by 15

runMethod · 0.36
addTestBlockingFunction · 0.36
init_unit_test_suiteFunction · 0.36
init_unit_test_suiteFunction · 0.36
test00Method · 0.36
test01Method · 0.36
test02Method · 0.36
test03Method · 0.36
test04Method · 0.36
loadTestMethod · 0.36
blockTestMethod · 0.36