Home
last modified time | relevance | path

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

/openbmc/qemu/system/
H A Ddirtylimit.c288 cpu->throttle_us_per_full = 0; in dirtylimit_set_throttle()
299 cpu->throttle_us_per_full += throttle_us; in dirtylimit_set_throttle()
304 cpu->throttle_us_per_full -= throttle_us; in dirtylimit_set_throttle()
312 cpu->throttle_us_per_full += ring_full_time_us / 10; in dirtylimit_set_throttle()
323 cpu->throttle_us_per_full = MIN(cpu->throttle_us_per_full, in dirtylimit_set_throttle()
326 cpu->throttle_us_per_full = MAX(cpu->throttle_us_per_full, 0); in dirtylimit_set_throttle()
411 if (cpu->throttle_us_per_full) { in dirtylimit_vcpu_execute()
418 cpu->throttle_us_per_full); in dirtylimit_vcpu_execute()
420 g_usleep(cpu->throttle_us_per_full); in dirtylimit_vcpu_execute()
578 if (cpu->throttle_us_per_full > max) { in dirtylimit_throttle_time_per_round()
[all …]
/openbmc/qemu/tests/qtest/
H A Dmigration-test.c3640 uint64_t throttle_us_per_full; in test_migrate_dirty_limit() local
3677 throttle_us_per_full = 0; in test_migrate_dirty_limit()
3678 while (throttle_us_per_full == 0) { in test_migrate_dirty_limit()
3679 throttle_us_per_full = in test_migrate_dirty_limit()
3691 throttle_us_per_full = in test_migrate_dirty_limit()
3695 } while (throttle_us_per_full != 0 && --max_try_count); in test_migrate_dirty_limit()
3698 g_assert_cmpint(throttle_us_per_full, ==, 0); in test_migrate_dirty_limit()
3718 throttle_us_per_full = 0; in test_migrate_dirty_limit()
3719 while (throttle_us_per_full == 0) { in test_migrate_dirty_limit()
3720 throttle_us_per_full = in test_migrate_dirty_limit()
/openbmc/qemu/include/hw/core/
H A Dcpu.h559 int64_t throttle_us_per_full; member
/openbmc/qemu/accel/kvm/
H A Dkvm-all.c459 cpu->throttle_us_per_full = 0; in kvm_create_vcpu()