]> git.proxmox.com Git - mirror_qemu.git/commit
throttle: Add support for burst periods
authorAlberto Garcia <berto@igalia.com>
Thu, 18 Feb 2016 10:27:01 +0000 (12:27 +0200)
committerKevin Wolf <kwolf@redhat.com>
Mon, 22 Feb 2016 13:08:05 +0000 (14:08 +0100)
commit100f8f26086ad85a9361f2883edd55bc337ce594
tree4d2c546737df03462198fbf0b47c98368e56891f
parent1588ab5d0b96301b893d63aa342faad0e37a02ff
throttle: Add support for burst periods

This patch adds support for burst periods to the throttling code.
With this feature the user can keep performing bursts as defined by
the LeakyBucket.max rate for a configurable period of time.

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