/openbmc/linux/drivers/infiniband/hw/usnic/ |
H A D | usnic_uiom_interval_tree.c | 73 struct usnic_uiom_interval_node *interval = kzalloc(sizeof(*interval), in usnic_uiom_interval_node_alloc() local 75 if (!interval) in usnic_uiom_interval_node_alloc() 78 interval->start = start; in usnic_uiom_interval_node_alloc() 79 interval->last = last; in usnic_uiom_interval_node_alloc() 80 interval->flags = flags; in usnic_uiom_interval_node_alloc() 81 interval->ref_cnt = ref_cnt; in usnic_uiom_interval_node_alloc() 83 return interval; in usnic_uiom_interval_node_alloc() 125 struct usnic_uiom_interval_node *interval, *tmp; in usnic_uiom_get_intervals_diff() local 135 list_for_each_entry(interval, &intersection_set, link) { in usnic_uiom_get_intervals_diff() 136 if (pivot < interval->start) { in usnic_uiom_get_intervals_diff() [all …]
|
/openbmc/linux/drivers/atm/ |
H A D | idt77252_tables.h | 9 /* 000 */ 0x8d022e27, /* cps = 10.02, nrm = 3, interval = 35264.00 */ 10 /* 001 */ 0x8d362e11, /* cps = 10.42, nrm = 3, interval = 33856.00 */ 11 /* 002 */ 0x8d6e2bf8, /* cps = 10.86, nrm = 3, interval = 32512.00 */ 12 /* 003 */ 0x8da82bcf, /* cps = 11.31, nrm = 3, interval = 31200.00 */ 13 /* 004 */ 0x8de42ba8, /* cps = 11.78, nrm = 3, interval = 29952.00 */ 14 /* 005 */ 0x8e242b82, /* cps = 12.28, nrm = 3, interval = 28736.00 */ 15 /* 006 */ 0x8e662b5e, /* cps = 12.80, nrm = 3, interval = 27584.00 */ 16 /* 007 */ 0x8eaa2b3c, /* cps = 13.33, nrm = 3, interval = 26496.00 */ 17 /* 008 */ 0x8ef22b1a, /* cps = 13.89, nrm = 3, interval = 25408.00 */ 18 /* 009 */ 0x8f3e2afa, /* cps = 14.48, nrm = 3, interval = 24384.00 */ [all …]
|
/openbmc/linux/drivers/net/ethernet/engleder/ |
H A D | tsnep_selftests.c | 202 *next += gcl->operation[i].interval; in get_operation() 368 qopt->entries[0].interval = 200000; in tsnep_test_taprio() 370 qopt->entries[1].interval = 800000; in tsnep_test_taprio() 372 qopt->entries[2].interval = 240000; in tsnep_test_taprio() 374 qopt->entries[3].interval = 80000; in tsnep_test_taprio() 376 qopt->entries[4].interval = 70000; in tsnep_test_taprio() 378 qopt->entries[5].interval = 60000; in tsnep_test_taprio() 380 qopt->entries[6].interval = 50000; in tsnep_test_taprio() 390 qopt->entries[0].interval = 23842; in tsnep_test_taprio() 392 qopt->entries[1].interval = 13482; in tsnep_test_taprio() [all …]
|
H A D | tsnep_tc.c | 26 if (qopt->entries[i].interval < TSNEP_GCL_MIN_INTERVAL) in tsnep_validate_gcl() 28 cycle_time += qopt->entries[i].interval; in tsnep_validate_gcl() 39 u32 properties, u32 interval, bool flush) in tsnep_write_gcl_operation() argument 45 gcl->operation[index].interval = interval; in tsnep_write_gcl_operation() 48 iowrite32(interval, addr + sizeof(u32)); in tsnep_write_gcl_operation() 64 * - operation with adjusted interval is inserted on demand to exactly in tsnep_change_duration() 75 duration += gcl->operation[index].interval; in tsnep_change_duration() 105 qopt->entries[i].interval, true); in tsnep_write_gcl() 169 change -= gcl->operation[index].interval; in tsnep_set_gcl_change() 204 u64 change, u32 interval) in tsnep_insert_gcl_operation() argument [all …]
|
/openbmc/phosphor-watchdog/test/ |
H A D | watchdog.cpp | 42 wdog->interval(milliseconds(defaultInterval).count()); in WdogTest() 56 // This is the default interval as given in Interface definition 101 EXPECT_EQ(newIntervalMs, wdog->interval(newIntervalMs)); in TEST_F() 104 EXPECT_EQ(newIntervalMs, wdog->interval()); in TEST_F() 125 // Get the configured interval in TEST_F() 206 /** @brief Make sure the Interval can be updated directly. 212 EXPECT_EQ(expireTimeMs, wdog->interval(expireTimeMs)); in TEST_F() 214 // Expect an update in the Interval in TEST_F() 215 EXPECT_EQ(expireTimeMs, wdog->interval()); in TEST_F() 218 /** @brief Make sure the Interval can be updated while the timer is running. [all …]
|
/openbmc/sdeventplus/src/sdeventplus/utility/ |
H A D | timer.hpp | 26 * at specified intervals. If no interval is provided to the timer, 39 * interval or time remaining. 49 * This timer is created enabled by default if passed an interval. 54 * @param[in] interval - Optional amount of time in-between timer 55 * expirations. std::nullopt means the interval 62 std::optional<Duration> interval = std::nullopt, 119 /** @brief Gets interval between timer expirations 120 * The timer may not have a configured interval and is instead 123 * @return The interval as an std::chrono::duration 145 * This does not affect the interval used for subsequent runs. [all …]
|
H A D | timer.cpp | 16 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 …]
|
/openbmc/linux/Documentation/userspace-api/media/v4l/ |
H A D | vidioc-subdev-g-frame-interval.rst | 13 VIDIOC_SUBDEV_G_FRAME_INTERVAL - VIDIOC_SUBDEV_S_FRAME_INTERVAL - Get or set the frame interval on … 38 These ioctls are used to get and set the frame interval at specific 39 subdev pads in the image pipeline. The frame interval only makes sense 44 To retrieve the current frame interval applications set the ``pad`` 49 this structure the driver fills the members of the ``interval`` field. 51 To change the current frame interval applications set both the ``pad`` 52 field and all members of the ``interval`` field. When they call the 54 structure the driver verifies the requested interval, adjusts it based 58 contains the current frame interval as would be returned by a 65 Drivers must not return an error solely because the requested interval [all …]
|
H A D | vidioc-enum-frameintervals.rst | 30 that contains a pixel format and size and receives a frame interval. 67 the ``type`` field to determine the type of frame interval enumeration 81 other ioctl calls while it runs the frame interval enumeration. 86 intervals instead of frame rates. Given the frame interval the frame 109 - Minimum frame interval [s]. 112 - Maximum frame interval [s]. 115 - Frame interval step size [s]. 128 - IN: Index of the given frame interval in the enumeration. 140 - OUT: Frame interval type the device supports. 143 - OUT: Frame interval with the given index. [all …]
|
/openbmc/linux/Documentation/virt/kvm/ |
H A D | halt-polling.rst | 18 interval or some other task on the runqueue is runnable the scheduler is 31 Halt Polling Interval 35 as the halt polling interval, is increased and decreased based on the perceived 47 During polling if a wakeup source is received within the halt polling interval, 48 the interval is left unchanged. In the event that a wakeup source isn't 49 received during the polling interval (and thus schedule is invoked) there are 50 two options, either the polling interval and total block time[0] were less than 51 the global max polling interval (see module params below), or the total block 52 time was greater than the global max polling interval. 54 In the event that both the polling interval and total block time were less than [all …]
|
/openbmc/linux/drivers/block/drbd/ |
H A D | drbd_interval.c | 22 * drbd_insert_interval - insert a new interval into a tree 58 * drbd_contains_interval - check if a tree contains a given interval 60 * @sector: start sector of @interval 61 * @interval: may be an invalid pointer 63 * Returns if the tree contains the node @interval with start sector @start. 64 * Does not dereference @interval until @interval is known to be a valid object 65 * in @tree. Returns %false if @interval is in the tree but with a different 70 struct drbd_interval *interval) in drbd_contains_interval() argument 82 else if (interval < here) in drbd_contains_interval() 84 else if (interval > here) in drbd_contains_interval() [all …]
|
/openbmc/linux/tools/perf/scripts/python/ |
H A D | sctop.py | 7 # [comm] are displayed. If an [interval] arg is specified, the display 8 # will be refreshed every [interval] seconds. The default interval is 27 usage = "perf script -s sctop.py [comm] [interval]\n"; 31 interval = default_interval variable 38 interval = int(sys.argv[2]) variable 41 interval = int(sys.argv[1]) 44 interval = default_interval variable 49 thread.start_new_thread(print_syscall_totals, (interval,)) 68 def print_syscall_totals(interval): argument 89 time.sleep(interval)
|
/openbmc/qemu/net/ |
H A D | filter-buffer.c | 27 uint32_t interval; member 53 /* Timer rearmed to fire again in s->interval microseconds. */ in filter_buffer_release_timer() 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() 109 /* Timer armed to fire in s->interval microseconds. */ in filter_buffer_setup_timer() 111 qemu_clock_get_us(QEMU_CLOCK_VIRTUAL) + s->interval); in filter_buffer_setup_timer() 120 * We may want to accept zero interval when VM FT solutions like MC in filter_buffer_setup() 123 if (!s->interval) { in filter_buffer_setup() 124 error_setg(errp, QERR_INVALID_PARAMETER_VALUE, "interval", in filter_buffer_setup() [all …]
|
/openbmc/phosphor-watchdog/src/ |
H A D | watchdog.hpp | 53 uint64_t interval; member 65 * @param[in] defaultInterval - default interval to start with 84 interval(defaultInterval); 88 interval(interval()); 95 /** @brief Resets the TimeRemaining to the configured Interval 111 * interval and it starts counting down. 138 /** @brief Get value of Interval 141 * @return: current interval 144 using WatchdogInherits::interval; 146 /** @brief Set value of Interval [all …]
|
/openbmc/linux/tools/testing/selftests/timers/ |
H A D | set-timer-lat.c | 115 void describe_timer(int flags, int interval) in describe_timer() argument 120 interval ? "PERIODIC":"ONE-SHOT"); in describe_timer() 123 int setup_timer(int clock_id, int flags, int interval, timer_t *tm1) in setup_timer() argument 161 its1.it_interval.tv_sec = interval; in setup_timer() 173 int check_timer_latency(int flags, int interval) in check_timer_latency() argument 177 describe_timer(flags, interval); in check_timer_latency() 186 describe_timer(flags, interval); in check_timer_latency() 198 int check_alarmcount(int flags, int interval) in check_alarmcount() argument 200 describe_timer(flags, interval); in check_alarmcount() 213 const int interval = TIMER_SECS; in do_timer() local [all …]
|
/openbmc/phosphor-power/power-sequencer/ |
H A D | main.cpp | 37 std::string interVal{}; in main() local 44 app.add_option("-i,--interval", interVal, in main() 45 "Interval in milliseconds:\n" in main() 47 "Runtime monitor: polling interval.\n") in main() 59 auto i = strtoul(interVal.c_str(), nullptr, 10); in main() 62 std::cerr << "Invalid interval value\n"; in main() 66 std::chrono::milliseconds interval{i}; in main() local 81 interval); in main() 88 event, interval); in main()
|
/openbmc/linux/Documentation/admin-guide/device-mapper/ |
H A D | dm-flakey.rst | 10 <up interval> seconds, then exhibits unreliable behaviour for <down 11 interval> seconds, and then this cycle repeats. 22 <dev path> <offset> <up interval> <down interval> \ 32 <up interval>: 34 <down interval>: 55 During <down interval>, replace <Nth_byte> of the data of 71 During <down interval>, replace random byte in a read bio 76 During <down interval>, replace random byte in a write bio
|
/openbmc/linux/tools/power/x86/turbostat/ |
H A D | turbostat.8 | 12 .RB [ "\--interval seconds" ] 21 and turbostat displays statistics every 5 seconds interval. 22 The 5-second interval can be changed using the --interval option. 46 'delta' shows the difference in values during the measurement interval. 70 \fB--interval seconds\fP overrides the default 5.0 second measurement interval. 83 \fB--Summary\fP limits output to a 1-line System Summary for each interval. 98 …e (seconds.subsec since Epoch) when the counters ending the measurement interval were collected. … 108 \fBBusy%\fP percent of the measurement interval that the CPU executes instructions, aka. % of time … 112 \fBTSC_MHz\fP average MHz that the TSC ran during the entire interval. 114 \fBIRQ\fP The number of interrupts serviced by that CPU during the measurement interval. The syste… [all …]
|
/openbmc/telemetry/src/ |
H A D | report_manager.cpp | 50 std::vector<std::string> reportActions, uint64_t interval, in ReportManager() 67 if (interval == std::numeric_limits<uint64_t>::max()) in ReportManager() 69 interval = 0; in ReportManager() 78 Milliseconds(interval), appendLimit, in ReportManager() 96 const ReportingType reportingType, Milliseconds interval, in verifyAddReport() argument 115 if ((reportingType == ReportingType::periodic && interval < minInterval) || in verifyAddReport() 117 interval != Milliseconds{0})) in verifyAddReport() 119 throw errors::InvalidArgument("Interval"); in verifyAddReport() 134 const std::vector<ReportAction>& reportActions, Milliseconds interval, in addReport() argument 142 interval, appendLimit, reportUpdates, in addReport() [all …]
|
/openbmc/linux/drivers/input/ |
H A D | input-poller.c | 105 void input_set_poll_interval(struct input_dev *dev, unsigned int interval) in input_set_poll_interval() argument 108 dev->poller->poll_interval = interval; in input_set_poll_interval() 112 void input_set_min_poll_interval(struct input_dev *dev, unsigned int interval) in input_set_min_poll_interval() argument 115 dev->poller->poll_interval_min = interval; in input_set_min_poll_interval() 119 void input_set_max_poll_interval(struct input_dev *dev, unsigned int interval) in input_set_max_poll_interval() argument 122 dev->poller->poll_interval_max = interval; in input_set_max_poll_interval() 152 unsigned int interval; in input_dev_set_poll_interval() local 155 err = kstrtouint(buf, 0, &interval); in input_dev_set_poll_interval() 159 if (interval < poller->poll_interval_min) in input_dev_set_poll_interval() 162 if (interval > poller->poll_interval_max) in input_dev_set_poll_interval() [all …]
|
/openbmc/phosphor-fan-presence/control/json/triggers/ |
H A D | timer.cpp | 63 if (!jsonObj.contains("interval")) in getInterval() 65 log<level::ERR>("Missing required timer trigger interval", in getInterval() 67 throw std::runtime_error("Missing required timer trigger interval"); in getInterval() 70 jsonObj["interval"].get<uint64_t>()); in getInterval() 87 // Get the type and interval of this timer from the JSON in triggerTimer() 89 auto interval = getInterval(jsonObj); in triggerTimer() local 92 return [type = std::move(type), interval = std::move(interval), in triggerTimer() 99 mgr->addTimer(type, interval, std::move(tpPtr)); in triggerTimer()
|
/openbmc/qemu/docs/interop/ |
H A D | virtio-balloon-stats.rst | 9 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/linux/tools/testing/selftests/tc-testing/tc-tests/qdiscs/ |
H A D | codel.json | 18 "matchPattern": "qdisc codel 1: root refcnt [0-9]+ limit 1000p target 5ms interval 100ms", 41 "matchPattern": "qdisc codel 1: root refcnt [0-9]+ limit 1500p target 5ms interval 100ms", 64 "matchPattern": "qdisc codel 1: root refcnt [0-9]+ limit 1000p target 100ms interval 100ms", 73 "name": "Create CODEL with interval setting", 84 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root codel interval 20ms", 87 "matchPattern": "qdisc codel 1: root refcnt [0-9]+ limit 1000p target 5ms interval 20ms", 110 … "matchPattern": "qdisc codel 1: root refcnt [0-9]+ limit 1000p target 5ms interval 100ms ecn", 133 …tern": "qdisc codel 1: root refcnt [0-9]+ limit 1000p target 5ms ce_threshold 20ms interval 100ms", 157 "matchPattern": "qdisc codel 1: root refcnt [0-9]+ limit 1000p target 5ms interval 100ms", 180 "matchPattern": "qdisc codel 1: root refcnt [0-9]+ limit 5000p target 5ms interval 100ms", [all …]
|
H A D | fq_codel.json | 18 …codel 1: root refcnt [0-9]+ limit 10240p flows 1024 quantum.*target 5ms interval 100ms memory_limi… 41 …_codel 1: root refcnt [0-9]+ limit 1000p flows 1024 quantum.*target 5ms interval 100ms memory_limi… 64 …codel 1: root refcnt [0-9]+ limit 10240p flows 1024 quantum.*target 5ms interval 100ms memory_limi… 87 …codel 1: root refcnt [0-9]+ limit 10240p flows 1024 quantum.*target 2ms interval 100ms memory_limi… 96 "name": "Create FQ_CODEL with interval setting", 107 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root fq_codel interval 5000", 110 …codel 1: root refcnt [0-9]+ limit 10240p flows 1024 quantum.*target 5ms interval 5ms memory_limit … 133 …l 1: root refcnt [0-9]+ limit 10240p flows 1024 quantum 9000 target 5ms interval 100ms memory_limi… 156 …codel 1: root refcnt [0-9]+ limit 10240p flows 1024 quantum.*target 5ms interval 100ms memory_limi… 179 …t [0-9]+ limit 10240p flows 1024 quantum.*target 5ms ce_threshold 1.02s interval 100ms memory_limi… [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-bsp/lm_sensors/lmsensors-config/ |
H A D | sensord.conf | 3 # -i, --interval <time> -- interval between scanning alarms (default 60s) 4 # -l, --log-interval <time> -- interval between logging sensors (default 30m) 5 # -t, --rrd-interval <time> -- interval between updating RRD file (default 5m)
|