[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-block] [PATCH v6 1/2] block/accounting: introduce latency hist
From: |
Eric Blake |
Subject: |
Re: [Qemu-block] [PATCH v6 1/2] block/accounting: introduce latency histogram |
Date: |
Sat, 10 Mar 2018 21:10:24 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 |
On 03/09/2018 10:52 AM, Vladimir Sementsov-Ogievskiy wrote:
Introduce latency histogram statics for block devices.
For each accounted operation type latency region [0, +inf) is
Hard to read; I suggest: s/type latency/type, the latency/
divided into subregions by several points. Then, calculate
hits for each subregion.
Signed-off-by: Vladimir Sementsov-Ogievskiy <address@hidden>
---
include/block/accounting.h | 35 ++++++++++++++++++
block/accounting.c | 91 ++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 126 insertions(+)
Reviewed-by: Eric Blake <address@hidden>
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3266
Virtualization: qemu.org | libvirt.org