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()
314 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()
[all …]
/openbmc/qemu/tests/qtest/
H A Dmigration-test.c3635 uint64_t throttle_us_per_full; in test_migrate_dirty_limit() local
3672 throttle_us_per_full = 0; in test_migrate_dirty_limit()
3673 while (throttle_us_per_full == 0) { in test_migrate_dirty_limit()
3674 throttle_us_per_full = in test_migrate_dirty_limit()
3687 throttle_us_per_full = in test_migrate_dirty_limit()
3692 } while (throttle_us_per_full != 0 && --max_try_count); in test_migrate_dirty_limit()
3695 g_assert_cmpint(throttle_us_per_full, ==, 0); in test_migrate_dirty_limit()
3715 throttle_us_per_full = 0; in test_migrate_dirty_limit()
3716 while (throttle_us_per_full == 0) { in test_migrate_dirty_limit()
3717 throttle_us_per_full = in test_migrate_dirty_limit()
/openbmc/qemu/include/hw/core/
H A Dcpu.h564 int64_t throttle_us_per_full; member
/openbmc/qemu/accel/kvm/
H A Dkvm-all.c471 cpu->throttle_us_per_full = 0; in kvm_create_vcpu()