]> git.proxmox.com Git - mirror_qemu.git/commit - tests/test-throttle.c
throttle: Test throttle_compute_wait() during bursts
authorAlberto Garcia <berto@igalia.com>
Thu, 18 Feb 2016 10:27:06 +0000 (12:27 +0200)
committerKevin Wolf <kwolf@redhat.com>
Mon, 22 Feb 2016 13:08:06 +0000 (14:08 +0100)
commitf9d058852c9f28d378f003ad94cc881fd91ea385
treeac460f99442b851150b3fe22cb2d80089ff76372
parenteb8a1a1cbda15d776d6d505f14f61c7852f6a51a
throttle: Test throttle_compute_wait() during bursts

This test simulates an I/O burst for more than two seconds and checks
that it works as expected.

Signed-off-by: Alberto Garcia <berto@igalia.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
tests/test-throttle.c