Home
last modified time | relevance | path

Searched full:mininterval (Results 1 – 12 of 12) sorted by relevance

/openbmc/bmcweb/redfish-core/lib/
H A Dtelemetry_service.hpp75 const uint64_t* minInterval = nullptr; in handleTelemetryServiceGet() local
79 "MinInterval", minInterval); in handleTelemetryServiceGet()
92 if (minInterval != nullptr) in handleTelemetryServiceGet()
96 static_cast<time_t>(*minInterval))); in handleTelemetryServiceGet()
/openbmc/phosphor-watchdog/src/
H A Dwatchdog.hpp64 * @param[in] minInterval - minimum intervale value allowed
72 uint64_t minInterval = DEFAULT_MIN_INTERVAL_MS, argument
76 minInterval(minInterval),
178 uint64_t minInterval; member in phosphor::watchdog::Watchdog
H A Dwatchdog.cpp85 // Update interval to minInterval if applicable in timeRemaining()
86 value = std::max(value, minInterval); in timeRemaining()
105 return WatchdogInherits::interval(std::max(value, minInterval)); in interval()
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()
/openbmc/phosphor-watchdog/test/
H A Dwatchdog.cpp527 // Check first that the current interval is greater than minInterval in TEST_F()
529 // Check that the interval was not set to smaller value than minInterval in TEST_F()
531 // Check that the interval was not set to smaller value than minInterval in TEST_F()
538 * Initiate watchdog with minInterval greater than default
540 * minInterval.
549 auto minInterval = defaultInterval + Quantum(30); in TEST_F() local
550 auto minIntervalMs = milliseconds(minInterval).count(); in TEST_F()
558 // Check that the interval was set to the minInterval in TEST_F()
566 // Set remaining time shorter than minInterval will actually set it to in TEST_F()
567 // minInterval in TEST_F()
[all …]
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Telemetry/
H A DReportManager.interface.yaml47 readings. Minimal interval is defined in MinInterval property.
74 - name: MinInterval
/openbmc/telemetry/tests/src/
H A Dtest_report.cpp427 uint64_t newValue = ReportManager::minInterval.count() * 42; in TEST_F()
438 uint64_t newValue = ReportManager::minInterval.count() - 1; in TEST_F()
455 uint64_t newValue = ReportManager::minInterval.count(); in TEST_F()
760 .interval(ReportManager::minInterval)));
848 .interval(ReportManager::minInterval * 10),
879 DbusEnvironment::sleepFor(ReportManager::minInterval + 1ms); in TEST_P()
892 .interval(ReportManager::minInterval)); in SetUp()
899 DbusEnvironment::sleepFor(ReportManager::minInterval + 1ms); in TEST_F()
909 DbusEnvironment::sleepFor(ReportManager::minInterval + 1ms); in TEST_F()
1211 .interval(ReportManager::minInterval)); in TEST_F()
[all …]
H A Dtest_report_manager.cpp99 TEST_F(TestReportManager, minInterval) in TEST_F() argument
101 EXPECT_THAT(getProperty<uint64_t>("MinInterval"), in TEST_F()
102 Eq(ReportManager::minInterval.count())); in TEST_F()
330 reportParams.interval(ReportManager::minInterval - 1ms); in TEST_F()
/openbmc/telemetry/src/
H A Dreport_manager.cpp35 "MinInterval", uint64_t{}, sdbusplus::vtable::property_::const_, in ReportManager()
36 [](const auto&) -> uint64_t { return minInterval.count(); }); in ReportManager()
121 if ((reportingType == ReportingType::periodic && interval < minInterval) || in verifyAddReport()
H A Dreport_manager.hpp69 static constexpr Milliseconds minInterval{TELEMETRY_MIN_INTERVAL}; member in ReportManager
H A Dreport.cpp619 if (interval != Milliseconds{0} && interval < ReportManager::minInterval) in verify()
/openbmc/linux/kernel/rcu/
H A Drcutorture.c1041 unsigned long mininterval = test_boost_duration * HZ - HZ / 2; in rcu_torture_boost_failed() local
1043 if (end - *start > mininterval) { in rcu_torture_boost_failed()
1052 if (time_after(j, lp + mininterval) && cmpxchg(&last_persist, lp, j) == lp) in rcu_torture_boost_failed()