Home
last modified time | relevance | path

Searched refs:throttle_us_per_full (Results 1 – 4 of 4) sorted by relevance

/qemu/system/
H A Ddirtylimit.c287 cpu->throttle_us_per_full = 0; in dirtylimit_set_throttle()
298 cpu->throttle_us_per_full += throttle_us; in dirtylimit_set_throttle()
303 cpu->throttle_us_per_full -= throttle_us; in dirtylimit_set_throttle()
311 cpu->throttle_us_per_full += ring_full_time_us / 10; in dirtylimit_set_throttle()
313 cpu->throttle_us_per_full -= ring_full_time_us / 10; in dirtylimit_set_throttle()
322 cpu->throttle_us_per_full = MIN(cpu->throttle_us_per_full, in dirtylimit_set_throttle()
325 cpu->throttle_us_per_full = MAX(cpu->throttle_us_per_full, 0); in dirtylimit_set_throttle()
408 if (cpu->throttle_us_per_full) { in dirtylimit_vcpu_execute()
415 cpu->throttle_us_per_full); in dirtylimit_vcpu_execute()
417 g_usleep(cpu->throttle_us_per_full); in dirtylimit_vcpu_execute()
[all …]
/qemu/tests/qtest/migration/
H A Dprecopy-tests.c1115 uint64_t throttle_us_per_full; in test_dirty_limit() local
1152 throttle_us_per_full = 0; in test_dirty_limit()
1153 while (throttle_us_per_full == 0) { in test_dirty_limit()
1154 throttle_us_per_full = in test_dirty_limit()
1172 throttle_us_per_full = in test_dirty_limit()
1177 } while (throttle_us_per_full != 0 && --max_try_count); in test_dirty_limit()
1180 g_assert_cmpint(throttle_us_per_full, ==, 0); in test_dirty_limit()
1200 throttle_us_per_full = 0; in test_dirty_limit()
1201 while (throttle_us_per_full == 0) { in test_dirty_limit()
1202 throttle_us_per_full = in test_dirty_limit()
/qemu/include/hw/core/
H A Dcpu.h567 int64_t throttle_us_per_full; member
/qemu/accel/kvm/
H A Dkvm-all.c478 cpu->throttle_us_per_full = 0; in kvm_create_vcpu()