Home
last modified time | relevance | path

Searched refs:newInterval (Results 1 – 2 of 2) sorted by relevance

/openbmc/phosphor-watchdog/test/
H A Dwatchdog.cpp223 const auto newInterval = 5s; in TEST_F() local
229 EXPECT_EQ(newInterval, in TEST_F()
236 EXPECT_EQ(newInterval, milliseconds(wdog->interval())); in TEST_F()
241 EXPECT_GE(newInterval, remaining); in TEST_F()
242 EXPECT_LE(newInterval - Quantum(1), remaining); in TEST_F()
303 auto newInterval = primaryInterval - Quantum(1); in TEST_F() local
304 auto newIntervalMs = milliseconds(newInterval).count(); in TEST_F()
406 auto newInterval = fallbackInterval * 2; in TEST_F() local
446 EXPECT_GE(newInterval, remaining); in TEST_F()
447 EXPECT_LE(newInterval - Quantum(1), remaining); in TEST_F()
[all …]
/openbmc/telemetry/src/
H A Dreport.cpp208 [this](std::string newReportingType, uint64_t newInterval) { in makeReportInterface() argument
218 if (newInterval != std::numeric_limits<uint64_t>::max()) in makeReportInterface()
220 newIntervalT = Milliseconds(newInterval); in makeReportInterface()