Home
last modified time | relevance | path

Searched refs:minInterval (Results 1 – 10 of 10) sorted by relevance

/openbmc/phosphor-watchdog/src/
H A Dwatchdog.hpp72 uint64_t minInterval = DEFAULT_MIN_INTERVAL_MS, argument
76 minInterval(minInterval),
178 uint64_t minInterval; member in phosphor::watchdog::Watchdog
H A Dmainapp.cpp138 uint64_t minInterval = phosphor::watchdog::DEFAULT_MIN_INTERVAL_MS; in main() local
139 app.add_option("-m,--min_interval", minInterval, in main()
232 std::move(maybeFallback), minInterval, in main()
H A Dwatchdog.cpp86 value = std::max(value, minInterval); in timeRemaining()
105 return WatchdogInherits::interval(std::max(value, minInterval)); in interval()
/openbmc/bmcweb/redfish-core/lib/
H A Dtelemetry_service.hpp62 const uint64_t* minInterval = nullptr; in handleTelemetryServiceGet() local
66 "MinInterval", minInterval); in handleTelemetryServiceGet()
79 if (minInterval != nullptr) in handleTelemetryServiceGet()
83 static_cast<time_t>(*minInterval))); in handleTelemetryServiceGet()
/openbmc/telemetry/tests/src/
H A Dtest_report.cpp429 uint64_t newValue = ReportManager::minInterval.count() * 42; in TEST_F()
440 uint64_t newValue = ReportManager::minInterval.count() - 1; in TEST_F()
457 uint64_t newValue = ReportManager::minInterval.count(); in TEST_F()
762 .interval(ReportManager::minInterval)));
881 DbusEnvironment::sleepFor(ReportManager::minInterval + 1ms); in TEST_P()
894 .interval(ReportManager::minInterval)); in SetUp()
901 DbusEnvironment::sleepFor(ReportManager::minInterval + 1ms); in TEST_F()
911 DbusEnvironment::sleepFor(ReportManager::minInterval + 1ms); in TEST_F()
1213 .interval(ReportManager::minInterval)); in TEST_F()
1218 EXPECT_THAT(elapsed, AllOf(Ge(ReportManager::minInterval), in TEST_F()
[all …]
H A Dtest_report_manager.cpp98 TEST_F(TestReportManager, minInterval) in TEST_F() argument
101 Eq(ReportManager::minInterval.count())); in TEST_F()
329 reportParams.interval(ReportManager::minInterval - 1ms); in TEST_F()
/openbmc/phosphor-watchdog/test/
H A Dwatchdog.cpp549 auto minInterval = defaultInterval + Quantum(30); in TEST_F() local
550 auto minIntervalMs = milliseconds(minInterval).count(); in TEST_F()
572 EXPECT_TRUE((remaining >= minInterval - Quantum(1)) && in TEST_F()
573 (remaining <= minInterval)); in TEST_F()
/openbmc/telemetry/src/
H A Dreport_manager.hpp70 static constexpr Milliseconds minInterval{TELEMETRY_MIN_INTERVAL}; member in ReportManager
H A Dreport_manager.cpp36 [](const auto&) -> uint64_t { return minInterval.count(); }); in ReportManager()
115 if ((reportingType == ReportingType::periodic && interval < minInterval) || in verifyAddReport()
H A Dreport.cpp610 if (interval != Milliseconds{0} && interval < ReportManager::minInterval) in verify()