Searched refs:sleepTime (Results 1 – 5 of 5) sorted by relevance
/openbmc/sdbusplus/test/ |
H A D | timer.cpp | 99 auto sleepTime = duration_cast<microseconds>(seconds(1)); in TEST_F() local 100 if (!sd_event_run(events, sleepTime.count())) in TEST_F() 127 auto sleepTime = duration_cast<microseconds>(seconds(1)); in TEST_F() local 128 if (!sd_event_run(events, sleepTime.count())) in TEST_F() 161 auto sleepTime = duration_cast<microseconds>(seconds(1)); in TEST_F() local 162 if (!sd_event_run(events, sleepTime.count())) in TEST_F() 197 auto sleepTime = duration_cast<microseconds>(seconds(1)); in TEST_F() local 198 if (!sd_event_run(events, sleepTime.count())) in TEST_F() 223 auto sleepTime = duration_cast<microseconds>(seconds(1)); in TEST_F() local 224 if (!sd_event_run(events, sleepTime.count())) in TEST_F() [all …]
|
/openbmc/phosphor-gpio-monitor/test/ |
H A D | utest.cpp | 82 auto sleepTime = duration_cast<microseconds>(seconds(1)); in TEST_F() local 83 if (!sd_event_run(eventP.get(), sleepTime.count())) in TEST_F() 117 auto sleepTime = duration_cast<microseconds>(seconds(1)); in TEST_F() local 118 if (!sd_event_run(eventP.get(), sleepTime.count())) in TEST_F()
|
/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()
|
/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()
|
H A D | handler_test.cpp | 46 auto sleepTime = duration_cast<microseconds>(timeout); in waitEventExpiry() local 48 if (!sd_event_run(event.get(), sleepTime.count())) in waitEventExpiry()
|