Searched refs:AddOneTimeEvent (Results 1 – 4 of 4) sorted by relevance
75 IOEventRef AddOneTimeEvent(timeval duration, const std::function<bool()>& callback,
167 ASSERT_TRUE(loop.AddOneTimeEvent(tv, [&]() { in TEST()174 ASSERT_TRUE(loop.AddOneTimeEvent(tv, [&]() { return loop.ExitLoop(); })); in TEST()
142 IOEventRef IOEventLoop::AddOneTimeEvent(timeval duration, const std::function<bool()>& callback, in AddOneTimeEvent() function in simpleperf::IOEventLoop
720 if (!loop->AddOneTimeEvent(SecondToTimeval(delay_in_ms_ / 1000), delay_callback)) { in PrepareRecording()