Home
last modified time | relevance | path

Searched full:interval (Results 1 – 25 of 113) sorted by relevance

12345

/qemu/net/
H A Dfilter-buffer.c27 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 …]
/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 } }
/qemu/include/qemu/
H A Dinterval-tree.h3 * Interval trees.
38 uint64_t start; /* Start of interval */
39 uint64_t last; /* Last location _in_ interval */
77 * @start, @last: the inclusive interval [start, last].
80 * that overlap the interval, where "first" is sorted by start.
89 * @start, @last: the inclusive interval [start, last].
92 * interval; @next is the result of a previous call to
H A Drange.h70 * Initialize @range to span the interval [@lob,@upb].
72 * The interval must not be empty, i.e. @lob must be less than or
83 * Initialize @range to span the interval [@lob,@upb_plus1).
115 * Initialize @range to span the interval [@lob,@lob + @size - 1].
132 * Initialize @range to span the interval [@lob,@lob + @size - 1].
177 * Extend @range to the smallest interval that includes @extend_by, too.
H A Dselfmap.h12 #include "qemu/interval-tree.h"
38 * @info: an interval tree
/qemu/scripts/
H A Duserfaultfd-wrlat.py6 # dumped each 'interval' seconds.
10 # USAGE: userfaultfd-lat [interval [count]]
27 print("USAGE: %s [interval [count]]" % argv[0])
85 interval = 10 variable
89 interval = int(argv[1]) variable
90 if interval == 0:
115 sleep(interval)
/qemu/audio/
H A Dtrace-events30 audio_timer_start(int interval) "interval %d ms"
32 audio_timer_delayed(int interval) "interval %d ms"
/qemu/tests/qtest/
H A Dtest-netfilter.c26 " 'interval': 1000" in add_one_netfilter()
53 " 'interval': 1000" in remove_netdev_with_one_netfilter()
90 " 'interval': 1000" in add_multi_netfilter()
103 " 'interval': 1000" in add_multi_netfilter()
138 " 'interval': 1000" in remove_netdev_with_multi_netfilter()
151 " 'interval': 1000" in remove_netdev_with_multi_netfilter()
/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()
179 /* check to see if match event has occurred. check 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()
[all …]
H A Dallwinner-a10-pit.c54 return s->interval[index]; in a10_pit_read()
124 ptimer_set_count(s->timer[index], s->interval[index]); in a10_pit_write()
138 s->interval[index] = value; in a10_pit_write()
140 ptimer_set_limit(s->timer[index], s->interval[index], 1); in a10_pit_write()
206 VMSTATE_UINT32_ARRAY(interval, AwA10PITState, AW_A10_PIT_TIMER_NR),
229 s->interval[i] = 0; in a10_pit_reset()
/qemu/tests/unit/
H A Dtest-interval-tree.c2 * Test interval trees
10 #include "qemu/interval-tree.h"
200 g_test_add_func("/interval-tree/empty", test_empty); in main()
201 g_test_add_func("/interval-tree/find-one-point", test_find_one_point); in main()
202 g_test_add_func("/interval-tree/find-two-point", test_find_two_point); in main()
203 g_test_add_func("/interval-tree/find-one-range", test_find_one_range); in main()
204 g_test_add_func("/interval-tree/find-one-range-many", in main()
206 g_test_add_func("/interval-tree/find-many-range", test_find_many_range); in main()
/qemu/include/exec/
H A Dtranslation-block.h15 #include "qemu/interval-tree.h"
100 * and we use a unified interval tree. For system, we use a
186 * To begin, we record an interval of one byte. When the translation in tb_set_page_addr0()
187 * loop encounters a second page, the interval will be extended to in tb_set_page_addr0()
190 * interval will be set by tb_page_add() from tb->size before the in tb_set_page_addr0()
191 * node is added to the interval tree. in tb_set_page_addr0()
203 /* Extend the interval to the first byte of the second page. See above. */ in tb_set_page_addr1()
/qemu/hw/virtio/
H A Dvirtio-iommu.c282 VirtIOIOMMUInterval *interval = (VirtIOIOMMUInterval *) key; in virtio_iommu_notify_unmap_cb() local
285 virtio_iommu_notify_unmap(mr, interval->low, interval->high); in virtio_iommu_notify_unmap_cb()
294 VirtIOIOMMUInterval *interval = (VirtIOIOMMUInterval *) key; in virtio_iommu_notify_map_cb() local
297 virtio_iommu_notify_map(mr, interval->low, interval->high, in virtio_iommu_notify_map_cb()
803 VirtIOIOMMUInterval *interval; in virtio_iommu_map() local
820 interval = g_malloc0(sizeof(*interval)); in virtio_iommu_map()
822 interval->low = virt_start; in virtio_iommu_map()
823 interval->high = virt_end; in virtio_iommu_map()
825 mapping = g_tree_lookup(domain->mappings, (gpointer)interval); in virtio_iommu_map()
827 g_free(interval); in virtio_iommu_map()
[all …]
H A Dvirtio-balloon-pci.c80 object_property_add_alias(obj, "guest-stats-polling-interval", in virtio_balloon_pci_instance_init()
82 "guest-stats-polling-interval"); in virtio_balloon_pci_instance_init()
/qemu/contrib/plugins/
H A Dbbv.c29 static uint64_t interval = 100000000; variable
77 vcpu->count -= interval; in vcpu_interval_exec()
125 QEMU_PLUGIN_COND_GE, count_u64(), interval, NULL); in vcpu_tb_trans()
135 if (g_strcmp0(tokens[0], "interval") == 0) { in qemu_plugin_install()
136 interval = g_ascii_strtoull(tokens[1], NULL, 10); in qemu_plugin_install()
/qemu/docs/
H A Dqcow2-cache.txt135 periodically if needed, using the "cache-clean-interval" option (see below).
210 The parameter "cache-clean-interval" defines an interval (in seconds),
212 interval are removed from memory. Setting this parameter to 0 disables this
217 -drive file=hd.qcow2,cache-clean-interval=900
224 so cache-clean-interval is not supported on other systems.
/qemu/scripts/ci/
H A Dgitlab-pipeline-status83 def wait_on_pipeline_success(timeout, interval, argument
109 time.sleep(interval)
129 parser.add_argument('-i', '--interval', type=int, default=60,
170 args.interval,
/qemu/tests/qemu-iotests/
H A D13790 -c "reopen -o cache-clean-interval=5" \
91 -c "reopen -o cache-clean-interval=0" \
92 -c "reopen -o cache-clean-interval=10" \
118 -c "reopen -o cache-clean-interval=-1" \
/qemu/include/migration/
H A Dqemu-file-types.h171 * migration_rate_exceeded: Check if we have exceeded rate for this interval
174 * in the current interval.
178 * Returns if we should stop sending data for this interval.
/qemu/hw/ppc/
H A Dppc_booke.c54 #define TCR_FP_SHIFT 24 /* Fixed-Interval Timer Period */
56 #define TCR_FIE (1U << 23) /* Fixed-Interval Timer Interrupt Enable */
61 #define TCR_E500_FPEXT_SHIFT 13 /* Fixed-Interval Timer Period Extension */
68 #define TSR_FIS (1U << 26) /* Fixed-Interval Timer Interrupt Status */
111 /* e500 Fixed-interval timer period extension */ in booke_get_fit_target()
/qemu/hw/s390x/
H A Dvirtio-ccw-balloon.c44 object_property_add_alias(obj, "guest-stats-polling-interval", in virtio_ccw_balloon_instance_init()
46 "guest-stats-polling-interval"); in virtio_ccw_balloon_instance_init()
/qemu/linux-user/ppc/
H A Dcpu_loop.c209 case POWERPC_EXCP_FIT: /* Fixed-interval timer interrupt */ in cpu_loop()
210 cpu_abort(cs, "Fix interval timer interrupt while in user mode. " in cpu_loop()
281 case POWERPC_EXCP_PIT: /* Programmable interval timer IRQ */ in cpu_loop()
282 cpu_abort(cs, "Programmable interval timer interrupt " in cpu_loop()
/qemu/ui/
H A Dconsole.c84 uint64_t interval = GUI_REFRESH_INTERVAL_IDLE; in gui_update() local
96 if (interval > dcl_interval) { in gui_update()
97 interval = dcl_interval; in gui_update()
100 if (ds->update_interval != interval) { in gui_update()
101 ds->update_interval = interval; in gui_update()
102 trace_console_refresh(interval); in gui_update()
105 timer_mod(ds->gui_timer, ds->last_update + interval); in gui_update()
708 uint64_t interval) in update_displaychangelistener() argument
712 dcl->update_interval = interval; in update_displaychangelistener()
713 if (!ds->refreshing && ds->update_interval > interval) { in update_displaychangelistener()
[all …]
/qemu/block/
H A Dblklogwrites.c103 .name = "log-super-update-interval",
105 .help = "Log superblock update interval (# of write requests)",
272 s->update_interval = qemu_opt_get_number(opts, "log-super-update-interval", in blk_log_writes_open()
276 error_setg(errp, "Invalid log superblock update interval %"PRIu64, in blk_log_writes_open()
406 /* Update super block on flush or every update interval */ in blk_log_writes_co_do_log()
/qemu/hw/audio/
H A Dadlib.c135 double interval; in timer_handler() local
146 interval = NANOSECONDS_PER_SECOND * interval_Sec; in timer_handler()
147 exp = qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL) + interval; in timer_handler()

12345