Home
last modified time | relevance | path

Searched full:duration (Results 1 – 25 of 31) sorted by relevance

12

/qemu/tests/unit/
H A Drcutorture.c10 * number of updaters and specified duration.
13 * number of readers and one updater and specified duration.
17 * n_reads: 46008000 n_updates: 146026 nreaders: 2 nupdaters: 1 duration: 1
22 * threads, and the duration of the test in seconds. The second line
23 * lists the average duration of each type of operation in nanoseconds,
172 static void perftestrun(int nthreads, int duration, int nreaders, int nupdaters) in perftestrun() argument
178 g_usleep(duration * G_USEC_PER_SEC); in perftestrun()
181 printf("n_reads: %lld n_updates: %ld nreaders: %d nupdaters: %d duration: %d\n", in perftestrun()
182 n_reads, n_updates, nreaders, nupdaters, duration); in perftestrun()
184 ((duration * 1000*1000*1000.*(double)nreaders) / in perftestrun()
[all …]
H A Dtest-coroutine.c518 double duration; in perf_lifecycle() local
527 duration = g_test_timer_elapsed(); in perf_lifecycle()
529 g_test_message("Lifecycle %u iterations: %f s", max, duration); in perf_lifecycle()
535 double duration; in perf_nesting() local
551 duration = g_test_timer_elapsed(); in perf_nesting()
554 maxcycles, maxnesting, duration); in perf_nesting()
574 double duration; in perf_yield() local
584 duration = g_test_timer_elapsed(); in perf_yield()
586 g_test_message("Yield %u iterations: %f s", maxcycles, duration); in perf_yield()
597 double duration; in perf_baseline() local
[all …]
H A Dtest-rcu-list.c4 * usage: rcuq_test <readers> <duration>
270 static void rcu_qtest_run(int duration, int nreaders) in rcu_qtest_run() argument
278 sleep(duration); in rcu_qtest_run()
284 static void rcu_qtest(const char *test, int duration, int nreaders) in rcu_qtest() argument
296 rcu_qtest_run(duration, nreaders); in rcu_qtest()
327 fprintf(stderr, "Usage: %s duration nreaders\n", argv[0]); in usage()
351 int duration = 0, readers = 0; in main() local
368 duration = strtoul(argv[1], NULL, 0); in main()
373 if (duration && readers) { in main()
374 rcu_qtest(argv[0], duration, readers); in main()
/qemu/tests/bench/
H A Datomic64-bench.c26 static unsigned int duration = 1; variable
32 " -d = duration in seconds\n"
84 g_usleep(duration * G_USEC_PER_SEC); in run_test()
114 printf(" duration: %u\n", duration); in pr_params()
127 tx = val / duration / 1e6; in pr_stats()
130 printf("Duration: %u s\n", duration); in pr_stats()
149 duration = atoi(optarg); in parse_args()
H A Datomic_add-bench.c21 static unsigned int duration = 1; variable
31 " -d = duration in seconds\n"
87 g_usleep(duration * G_USEC_PER_SEC); in run_test()
120 printf(" duration: %u\n", duration); in pr_params()
133 tx = val / duration / 1e6; in pr_stats()
136 printf("Duration: %u s\n", duration); in pr_stats()
155 duration = atoi(optarg); in parse_args()
H A Dqht-bench.c46 static unsigned int duration = 1; variable
78 " -d = duration, in seconds\n"
273 printf(" duration: %d s\n", duration); in pr_params()
418 tx = (s.rd + s.not_rd + s.in + s.not_in + s.rm + s.not_rm) / 1e6 / duration; in pr_stats()
432 g_usleep(duration * G_USEC_PER_SEC); in run_test()
454 duration = atoi(optarg); in parse_args()
/qemu/tests/migration-stress/guestperf/
H A Dprogress.py80 duration, argument
91 self._duration = duration
106 "duration": self._duration,
123 data["duration"],
/qemu/tests/image-fuzzer/
H A Drunner.py290 -d, --duration=NUMBER finish tests after NUMBER of seconds
349 def should_continue(duration, start_time): argument
352 return (duration is None) or (current_time - start_time < duration)
357 'keep_passed', 'verbose', 'duration='])
367 duration = None variable
385 elif opt in ('-d', '--duration'):
386 duration = int(arg) variable
423 while should_continue(duration, start_time):
/qemu/tests/
H A Dtest-qht-par.c11 static void test_qht(int n_threads, int update_rate, int duration) in test_qht() argument
17 n_threads, update_rate, duration); in test_qht()
/qemu/tests/functional/
H A Dtest_aarch64_virt_gpu.py117 self._run_virt_weston_test("glmark2-wayland -b:duration=1.0")
135 self._run_virt_weston_test("vkmark -b:duration=1.0",
/qemu/include/standard-headers/linux/
H A Dinput.h298 * All duration values are expressed in ms. Values above 32767 ms (0x7fff)
304 * @length: duration of the effect
324 * @attack_length: duration of the attack (ms)
326 * @fade_length: duration of fade (ms)
/qemu/include/hw/
H A Dclock.h288 * @ns: duration in nanoseconds
294 * value and then dividing the duration by that value.
299 * the clock's period is short and the duration is long). In these
/qemu/tests/fp/
H A Dfp-bench.c129 static unsigned int duration = DEFAULT_DURATION_SECS; variable
234 int64_t tf = get_clock() + duration * 1000000000LL; in bench()
526 fprintf(stderr, " -d = duration, in seconds. Default: %d\n", in usage_complete()
634 duration = atoi(optarg); in parse_args()
/qemu/migration/
H A Ddirtyrate.c155 int64_t duration; in vcpu_calculate_dirtyrate() local
169 duration = dirty_stat_wait(calc_time_ms, init_time_ms); in vcpu_calculate_dirtyrate()
184 dirtyrate = do_calculate_dirtyrate(records[i], duration); in vcpu_calculate_dirtyrate()
194 return duration; in vcpu_calculate_dirtyrate()
/qemu/docs/system/
H A Dvirtio-net-failover.rst30 networking device by falling back to a virtio-net device for the duration of
/qemu/rust/qemu-api/src/
H A Dchardev.rs207 let mut duration: c_int = long.into(); in send_break() localVariable
213 addr_of_mut!(duration).cast::<c_void>(), in send_break()
/qemu/docs/devel/migration/
H A Ddirty-limit.rst62 On the other hand, each virtual CPU thread reads the sleep duration and
/qemu/python/qemu/qmp/
H A Devents.py30 The listener is active only for the duration of the ‘with’ block. This
672 activating them for the duration of the context block.
704 it for the duration of the context block.
/qemu/tests/functional/acpi-bits/bits-tests/
H A Dtestacpi.py2173 for duration in (0.1, 1.0):
174 frequency_data = bits.cpu_frequency(duration)
/qemu/include/user/
H A Dsafe-syscall.h51 * to block signals for the duration of the syscall. This mainly applies
/qemu/.gitlab-ci.d/
H A Dbase.yml25 # and show the duration of each line.
/qemu/target/arm/tcg/
H A Dvfp_helper.c492 /* Squash FZ16 to 0 for the duration of conversion. In this case, in HELPER()
505 /* Squash FZ16 to 0 for the duration of conversion. In this case, in HELPER()
518 /* Squash FZ16 to 0 for the duration of conversion. In this case, in HELPER()
531 /* Squash FZ16 to 0 for the duration of conversion. In this case, in HELPER()
/qemu/docs/devel/
H A Dclocks.rst400 a given duration, use ``clock_ns_to_ticks()``. This function handles
404 overflows a 64-bit value (a very long duration for a clock with a
/qemu/include/qemu/
H A Dcoroutine.h231 * Yield the coroutine for a given duration. Initializes @w so that,
/qemu/hw/char/
H A Dimx_serial.c135 * Timer triggers an interrupt when duration of in imx_serial_rx_fifo_ageing_timer_restart()

12