]> git.proxmox.com Git - mirror_qemu.git/commit - qmp-commands.hx
block: Compute minimum, maximum and average I/O latencies
authorAlberto Garcia <berto@igalia.com>
Wed, 28 Oct 2015 15:33:05 +0000 (17:33 +0200)
committerKevin Wolf <kwolf@redhat.com>
Thu, 12 Nov 2015 15:22:45 +0000 (16:22 +0100)
commit979e9b03fc8c85d3b78a14410c64cbb16d348095
treeacadf4f7a6bf98a4ce5363ea40a5658542949640
parent362e9299b34b3101aaa20f20363441c9f055fa5e
block: Compute minimum, maximum and average I/O latencies

This patch keeps track of the minimum, maximum and average latencies
of I/O operations during a certain interval of time.

The values are exposed in the BlockDeviceTimedStats structure.

An option to define the intervals to collect these statistics will be
added in a separate patch.

Signed-off-by: Alberto Garcia <berto@igalia.com>
Message-id: c7382dc89622c64f918d09f32815827772628f8e.1446044837.git.berto@igalia.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/accounting.c
block/block-backend.c
block/qapi.c
include/block/accounting.h
qapi/block-core.json
qmp-commands.hx