Home
last modified time | relevance | path

Searched refs:sample_pages_count (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/migration/
H A Ddirtyrate.c334 DirtyStat.page_sampling.total_sample_count += info->sample_pages_count; in update_dirtyrate_stat()
399 unsigned int sample_pages_count; in save_ramblock_hash() local
403 sample_pages_count = info->sample_pages_count; in save_ramblock_hash()
406 if (unlikely(info->ramblock_pages == 0 || sample_pages_count == 0)) { in save_ramblock_hash()
410 info->hash_result = g_try_malloc0_n(sample_pages_count, in save_ramblock_hash()
416 info->sample_page_vfn = g_try_malloc0_n(sample_pages_count, in save_ramblock_hash()
424 for (i = 0; i < sample_pages_count; i++) { in save_ramblock_hash()
442 info->sample_pages_count = (qemu_ram_get_used_length(block) * in get_ramblock_dirty_info()
530 for (i = 0; i < info->sample_pages_count; i++) { in calc_page_dirty_rate()
H A Ddirtyrate.h61 uint64_t sample_pages_count; /* count of sampled pages */ member