Home
last modified time | relevance | path

Searched refs:sleepTime (Results 1 – 9 of 9) sorted by relevance

/openbmc/phosphor-gpio-monitor/test/
H A Dutest.cpp84 auto sleepTime = duration_cast<microseconds>(seconds(1)); in TEST_F() local
85 if (!sd_event_run(eventP.get(), sleepTime.count())) in TEST_F()
119 auto sleepTime = duration_cast<microseconds>(seconds(1)); in TEST_F() local
120 if (!sd_event_run(eventP.get(), sleepTime.count())) in TEST_F()
/openbmc/sdbusplus/test/timer/
H A Dtimer_expire.cpp25 auto sleepTime = duration_cast<microseconds>(seconds(1)); in TEST_F() local
26 if (!sd_event_run(events, sleepTime.count())) in TEST_F()
H A Dtimer_callback_done.cpp23 auto sleepTime = duration_cast<microseconds>(seconds(1)); in TEST_F() local
24 if (!sd_event_run(events, sleepTime.count())) in TEST_F()
H A Dtimer_not_expire.cpp27 auto sleepTime = duration_cast<microseconds>(seconds(1)); in TEST_F() local
28 if (!sd_event_run(events, sleepTime.count())) in TEST_F()
H A Dtimer_callback_not_done.cpp27 auto sleepTime = duration_cast<microseconds>(seconds(1)); in TEST_F() local
28 if (!sd_event_run(events, sleepTime.count())) in TEST_F()
H A Dtimer_update_expire.cpp31 auto sleepTime = duration_cast<microseconds>(seconds(1)); in TEST_F() local
32 if (!sd_event_run(events, sleepTime.count())) in TEST_F()
H A Dtimer_update_not_expire.cpp35 auto sleepTime = duration_cast<microseconds>(seconds(1)); in TEST_F() local
36 if (!sd_event_run(events, sleepTime.count())) in TEST_F()
/openbmc/pldm/requester/test/
H A Drequest_test.cpp34 auto sleepTime = duration_cast<microseconds>(timeout); in waitEventExpiry() local
36 if (!sd_event_run(event.get(), sleepTime.count())) in waitEventExpiry()
/openbmc/phosphor-watchdog/test/
H A Dwatchdog.cpp77 constexpr auto sleepTime = Quantum(1); in waitForWatchdog() local
78 if (event.run(sleepTime) == 0) in waitForWatchdog()
80 ret += sleepTime; in waitForWatchdog()
163 auto sleepTime = Quantum(2); in TEST_F() local
164 ASSERT_LT(sleepTime, defaultInterval); in TEST_F()
165 std::this_thread::sleep_for(sleepTime); in TEST_F()
169 auto expected = defaultInterval - sleepTime; in TEST_F()