Documentation: kvm: clarify histogram units
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 14 Jul 2022 11:29:57 +0000 (07:29 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 14 Jul 2022 12:02:09 +0000 (08:02 -0400)
commit942d9e89524c135615e557fffa144104ea8fb361
tree3a4cdce448803986e9bb27b8a88e864907319bfa
parent1b870fa5573e260bc74d19f381ab0dd971a8d8e7
Documentation: kvm: clarify histogram units

In the case of histogram statistics, the values are always sample
counts; the unit instead applies to the bucket range.  For example,
halt_poll_success_hist is a nanosecond statistic because the buckets are
for 0ns, 1ns, 2-3ns, 4-7ns etc.  There isn't really any other sensible
interpretation, but clarify this anyway in the Documentation.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Documentation/virt/kvm/api.rst