Searched refs:sleepTime (Results 1 – 9 of 9) sorted by relevance
| /openbmc/phosphor-gpio-monitor/test/ |
| H A D | utest.cpp | 84 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 D | timer_expire.cpp | 25 auto sleepTime = duration_cast<microseconds>(seconds(1)); in TEST_F() local 26 if (!sd_event_run(events, sleepTime.count())) in TEST_F()
|
| H A D | timer_callback_done.cpp | 23 auto sleepTime = duration_cast<microseconds>(seconds(1)); in TEST_F() local 24 if (!sd_event_run(events, sleepTime.count())) in TEST_F()
|
| H A D | timer_not_expire.cpp | 27 auto sleepTime = duration_cast<microseconds>(seconds(1)); in TEST_F() local 28 if (!sd_event_run(events, sleepTime.count())) in TEST_F()
|
| H A D | timer_callback_not_done.cpp | 27 auto sleepTime = duration_cast<microseconds>(seconds(1)); in TEST_F() local 28 if (!sd_event_run(events, sleepTime.count())) in TEST_F()
|
| H A D | timer_update_expire.cpp | 31 auto sleepTime = duration_cast<microseconds>(seconds(1)); in TEST_F() local 32 if (!sd_event_run(events, sleepTime.count())) in TEST_F()
|
| H A D | timer_update_not_expire.cpp | 35 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 D | request_test.cpp | 34 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 D | watchdog.cpp | 77 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()
|