Home
last modified time | relevance | path

Searched refs:interval (Results 1 – 25 of 226) sorted by relevance

12345678910

/openbmc/sdeventplus/src/sdeventplus/utility/
H A Dtimer.cpp16 std::optional<Duration> interval, in Timer() argument
20 Clock<Id>(event).now() + interval.value_or(Duration::zero()), in Timer()
24 *this, std::move(callback), interval); in Timer()
32 setEnabled(interval.has_value()); in Timer()
80 return userdata->interval; in getInterval()
121 setRemaining(userdata->interval.value()); in resetRemaining()
125 void Timer<Id>::setInterval(std::optional<Duration> interval) in setInterval() argument
127 userdata->interval = interval; in setInterval()
137 void Timer<Id>::restart(std::optional<Duration> interval) in restart() argument
141 setInterval(interval); in restart()
[all …]
H A Dtimer.hpp62 std::optional<Duration> interval = std::nullopt,
163 void setInterval(std::optional<Duration> interval);
176 void restart(std::optional<Duration> interval);
220 std::optional<typename Timer<Id>::Duration> interval; member in sdeventplus::utility::detail::TimerData
224 std::optional<typename Timer<Id>::Duration> interval);
/openbmc/qemu/net/
H A Dfilter-buffer.c27 uint32_t interval; member
55 qemu_clock_get_us(QEMU_CLOCK_VIRTUAL) + s->interval); in filter_buffer_release_timer()
91 if (s->interval) { in filter_buffer_cleanup()
106 if (s->interval) { in filter_buffer_setup_timer()
111 qemu_clock_get_us(QEMU_CLOCK_VIRTUAL) + s->interval); in filter_buffer_setup_timer()
123 if (!s->interval) { in filter_buffer_setup()
138 if (s->interval) { in filter_buffer_status_changed()
152 uint32_t value = s->interval; in filter_buffer_get_interval()
172 s->interval = value; in filter_buffer_set_interval()
/openbmc/openbmc/meta-facebook/meta-yosemite4/recipes-phosphor/fans/phosphor-pid-control/
H A Dmonitor-pldm-sensor5 interval=2 # Wait time between each retry
178 sleep $interval
179 elapsed=$((elapsed + interval))
187 sleep $interval
188 elapsed=$((elapsed + interval))
205 echo "Some object paths are missing. Retrying in ${interval}s..."
206 sleep $interval
207 elapsed=$((elapsed + interval))
/openbmc/phosphor-watchdog/test/
H A Dwatchdog.cpp42 wdog->interval(milliseconds(defaultInterval).count()); in WdogTest()
101 EXPECT_EQ(newIntervalMs, wdog->interval(newIntervalMs)); in TEST_F()
104 EXPECT_EQ(newIntervalMs, wdog->interval()); in TEST_F()
212 EXPECT_EQ(expireTimeMs, wdog->interval(expireTimeMs)); in TEST_F()
215 EXPECT_EQ(expireTimeMs, wdog->interval()); in TEST_F()
222 const auto oldInterval = milliseconds(wdog->interval()); in TEST_F()
230 milliseconds(wdog->interval(milliseconds(newInterval).count()))); in TEST_F()
236 EXPECT_EQ(newInterval, milliseconds(wdog->interval())); in TEST_F()
279 fallback.interval = static_cast<uint64_t>(fallbackIntervalMs); in TEST_F()
284 EXPECT_EQ(primaryInterval, milliseconds(wdog->interval(primaryIntervalMs))); in TEST_F()
[all …]
/openbmc/phosphor-watchdog/src/
H A Dwatchdog.hpp53 uint64_t interval; member
84 interval(defaultInterval);
88 interval(interval());
144 using WatchdogInherits::interval;
153 uint64_t interval(uint64_t value) override;
H A Dwatchdog.cpp29 timeRemaining(interval()); in resetTimeRemaining()
52 auto interval_ms = this->interval(); in enabled()
92 value = fallback->interval; in timeRemaining()
103 uint64_t Watchdog::interval(uint64_t value) in interval() function in phosphor::watchdog::Watchdog
105 return WatchdogInherits::interval(std::max(value, minInterval)); in interval()
179 auto interval_ms = fallback->interval; in tryFallbackOrDisable()
/openbmc/telemetry/src/
H A Dreport_manager.cpp52 uint64_t interval, ReadingParameters readingParameters, in ReportManager()
71 if (interval == std::numeric_limits<uint64_t>::max()) in ReportManager()
73 interval = 0; in ReportManager()
84 Milliseconds(interval), appendLimit, in ReportManager()
102 const ReportingType reportingType, Milliseconds interval, in verifyAddReport() argument
121 if ((reportingType == ReportingType::periodic && interval < minInterval) || in verifyAddReport()
123 interval != Milliseconds{0})) in verifyAddReport()
140 const std::vector<ReportAction>& reportActions, Milliseconds interval, in addReport() argument
148 interval, appendLimit, reportUpdates, in addReport()
155 const std::vector<ReportAction>& reportActions, Milliseconds interval, in addReport() argument
53 __anonca3fbb7a0602(boost::asio::yield_context& yield, std::string reportId, std::string reportName, std::string reportingType, std::string reportUpdates, uint64_t appendLimit, std::vector<std::string> reportActions, uint64_t interval, ReadingParameters readingParameters, bool enabled) ReportManager() argument
201 uint64_t interval = data->at("Interval").get<uint64_t>(); loadFromPersistent() local
[all...]
H A Dreport.cpp34 name(reportName), reportingType(reportingTypeIn), interval(intervalIn), in Report()
68 auto errorMessages = verify(reportingType, interval); in Report()
216 Milliseconds newIntervalT = interval; in makeReportInterface()
227 if (newIntervalT != interval) in makeReportInterface()
241 if (interval != newIntervalT) in makeReportInterface()
243 interval = newIntervalT; in makeReportInterface()
259 [this](const auto&) { return interval.count(); }); in makeReportInterface()
385 self.scheduleTimerForPeriodicReport(self.interval); in timerProcForPeriodicReport()
503 data["Interval"] = interval.count(); in storeConfiguration()
569 scheduleTimerForPeriodicReport(interval); in scheduleTimer()
[all …]
/openbmc/qemu/scripts/
H A Duserfaultfd-wrlat.py85 interval = 10 variable
89 interval = int(argv[1])
90 if interval == 0:
115 sleep(interval)
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-daemons/ptpd/ptpd/
H A DFixed-100-CPU-using-issue-by-adding-minimum-POSIX-ti.patch5 interval
7 Added minimum POSIX timer interval to prevent from timers firing
12 - critical: added minimum POSIX timer interval to prevent from
54 @@ -100,6 +100,10 @@ eventTimerStart_posix(EventTimer *timer, double interval)
55 ts.tv_sec = interval;
56 ts.tv_nsec = (interval - ts.tv_sec) * 1E9;
62 DBGV("Timer %s start requested at %d.%4d sec interval\n", timer->id, ts.tv_sec, ts.tv_nsec);
/openbmc/sdeventplus/example/
H A Dheartbeat.cpp34 unsigned interval = std::stoul(argv[1]); in main() local
35 fprintf(stderr, "Beating every %u seconds\n", interval); in main()
38 auto hbFunc = [interval](Time& source, Time::TimePoint time) { in main()
44 source.set_time(time + std::chrono::seconds{interval}); in main()
H A Dheartbeat_timer.cpp39 unsigned interval = std::stoul(argv[1]); in main() local
40 fprintf(stderr, "Beating every %u seconds\n", interval); in main()
45 std::chrono::seconds{interval}); in main()
/openbmc/sdeventplus/test/utility/
H A Dtimer.cpp56 const milliseconds interval{134}; member in sdeventplus::utility::__anon9ead1e020111::TimerTest
109 expectSetTime(new_time + interval); in expireTimer()
112 EXPECT_EQ(interval, timer->getInterval()); in expireTimer()
146 microseconds(starting_time + interval).count(), in SetUp()
151 timer = std::make_unique<TestTimer>(*event, runCallback, interval); in SetUp()
170 microseconds(starting_time + interval).count(), in TEST_F()
175 timer = std::make_unique<TestTimer>(*event, nullptr, interval); in TEST_F()
178 expectSetTime(starting_time + interval); in TEST_F()
202 EXPECT_EQ(interval, timer->getInterval()); in TEST_F()
292 EXPECT_EQ(interval, timer->getInterval()); in TEST_F()
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-bsp/lm_sensors/lmsensors-config/
H A Dsensord5 # interval between scanning alarms
8 # interval between logging
11 # interval between RRD logging
/openbmc/u-boot/drivers/usb/musb-new/
H A Dmusb_uboot.c35 struct devrequest *setup, int interval) in construct_urb() argument
60 urb->ep->desc.bInterval = interval; in construct_urb()
113 void *buffer, int len, int interval) in _musb_submit_int_msg() argument
116 buffer, len, NULL, interval); in _musb_submit_int_msg()
122 int elementsize, void *buffer, int interval) in _musb_create_int_queue() argument
142 pipe, buffer, elementsize, NULL, interval); in _musb_create_int_queue()
271 void *buffer, int length, int interval) in submit_int_msg() argument
273 return _musb_submit_int_msg(&musb_host, dev, pipe, buffer, length, interval); in submit_int_msg()
278 void *buffer, int interval) in create_int_queue() argument
281 buffer, interval); in create_int_queue()
[all …]
/openbmc/phosphor-fan-presence/control/json/triggers/
H A Dtimer.cpp86 auto interval = getInterval(jsonObj); in triggerTimer() local
89 return [type = std::move(type), interval = std::move(interval), in triggerTimer()
96 mgr->addTimer(type, interval, std::move(tpPtr)); in triggerTimer()
/openbmc/qemu/docs/interop/
H A Dvirtio-balloon-stats.rst9 This is done by writing a time interval value (in seconds) to the
10 guest-stats-polling-interval property. This value can be:
13 enables polling in the specified interval. If polling is already
14 enabled, the polling time interval is changed to the new value
22 interval.
70 Enable polling with 2 seconds interval::
74 "property": "guest-stats-polling-interval", "value": 2 } }
82 "property": "guest-stats-polling-interval", "value": 10 } }
109 "property": "stats-polling-interval", "value": 0 } }
/openbmc/u-boot/drivers/usb/host/
H A Dxhci.c267 unsigned int interval; in xhci_microframes_to_exponent() local
269 interval = fls(desc_interval) - 1; in xhci_microframes_to_exponent()
270 interval = clamp_val(interval, min_exponent, max_exponent); in xhci_microframes_to_exponent()
271 if ((1 << interval) != desc_interval) in xhci_microframes_to_exponent()
274 1 << interval, desc_interval); in xhci_microframes_to_exponent()
276 return interval; in xhci_microframes_to_exponent()
301 unsigned int interval; in xhci_parse_exponent_interval() local
303 interval = clamp_val(endpt_desc->bInterval, 1, 16) - 1; in xhci_parse_exponent_interval()
304 if (interval != endpt_desc->bInterval - 1) in xhci_parse_exponent_interval()
306 endpt_desc->bEndpointAddress, 1 << interval, in xhci_parse_exponent_interval()
[all …]
/openbmc/telemetry/redfish-tests/
H A Dtest_telemetry.py107 interval=telemetry.min_interval,
232 interval=Duration.to_iso8061(telemetry.min_interval),
249 interval, redfish, telemetry, report_definitions argument
251 if interval < telemetry.min_interval:
255 id, type="Periodic", interval=Duration.to_iso8061(interval)
260 assert interval == r_interval, "Invalid interval, different then requested"
272 interval=invalid,
/openbmc/witherspoon-pfault-analysis/power-sequencer/
H A Dmain.cpp49 std::chrono::milliseconds interval{i}; in main() local
64 interval); in main()
71 event, interval); in main()
/openbmc/qemu/hw/timer/
H A Dcadence_ttc.c135 int64_t interval = (uint64_t)((s->reg_count & COUNTER_CTRL_INT) ? in cadence_timer_run() local
137 next_value = (s->reg_count & COUNTER_CTRL_DEC) ? -1ULL : interval; in cadence_timer_run()
159 int64_t interval = ((s->reg_count & COUNTER_CTRL_INT) ? in cadence_timer_sync() local
176 if (m > interval) { in cadence_timer_sync()
182 is_between(m + interval, s->reg_value, x) || in cadence_timer_sync()
183 is_between(m - interval, s->reg_value, x)) { in cadence_timer_sync()
187 if ((x < 0) || (x >= interval)) { in cadence_timer_sync()
192 x += interval; in cadence_timer_sync()
194 s->reg_value = (uint32_t)(x % interval); in cadence_timer_sync()
/openbmc/openbmc/poky/scripts/lib/build_perf/
H A Dscrape-html-report.js38 interval = window.setInterval(function () {
42 clearInterval(interval);
53 clearInterval(interval);
/openbmc/phosphor-power/power-sequencer/
H A Dmain.cpp64 std::chrono::milliseconds interval{i}; in main() local
79 interval); in main()
86 event, interval); in main()
/openbmc/qemu/audio/
H A Dtrace-events30 audio_timer_start(int interval) "interval %d ms"
32 audio_timer_delayed(int interval) "interval %d ms"

12345678910