diff options
| author | Alberto Garcia | 2016-02-18 11:26:54 +0100 |
|---|---|---|
| committer | Kevin Wolf | 2016-02-22 14:08:04 +0100 |
| commit | 3c9242f5ae8ca37bb5775747e34999fe8cdfee2f (patch) | |
| tree | d7d4e954b56de0fe1e0e6e131add90bed9c552d4 /include | |
| parent | block migration: Activate image on destination before writing to it (diff) | |
| download | qemu-3c9242f5ae8ca37bb5775747e34999fe8cdfee2f.tar.gz qemu-3c9242f5ae8ca37bb5775747e34999fe8cdfee2f.tar.xz qemu-3c9242f5ae8ca37bb5775747e34999fe8cdfee2f.zip | |
throttle: Make throttle_compute_timer() static
This function is only used internally in throttle.c
Signed-off-by: Alberto Garcia <berto@igalia.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'include')
| -rw-r--r-- | include/qemu/throttle.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/qemu/throttle.h b/include/qemu/throttle.h index d0c98ed25b..52c98d9e61 100644 --- a/include/qemu/throttle.h +++ b/include/qemu/throttle.h @@ -84,12 +84,6 @@ void throttle_leak_bucket(LeakyBucket *bkt, int64_t delta); int64_t throttle_compute_wait(LeakyBucket *bkt); -/* expose timer computation function for unit tests */ -bool throttle_compute_timer(ThrottleState *ts, - bool is_write, - int64_t now, - int64_t *next_timestamp); - /* init/destroy cycle */ void throttle_init(ThrottleState *ts); |
