qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Hajnoczi <stefanha@gmail.com>
To: Alberto Garcia <berto@igalia.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>,
	qemu-devel@nongnu.org, qemu-block@nongnu.org
Subject: Re: [Qemu-devel] [PATCH 0/3] Add infrastructure to compute timed averages
Date: Fri, 26 Jun 2015 10:09:48 +0100	[thread overview]
Message-ID: <20150626090948.GB15457@stefanha-thinkpad.redhat.com> (raw)
In-Reply-To: <cover.1434113783.git.berto@igalia.com>

[-- Attachment #1: Type: text/plain, Size: 1811 bytes --]

On Fri, Jun 12, 2015 at 04:01:28PM +0300, Alberto Garcia wrote:
> This series adds a new module that can be used to compute the average
> of a set of values in a certain period of time. This will be used by
> the accounting code to obtain statistics such as the min / max /
> average latency of I/O commands.
> 
> This is based on Benoît's code, originally written last year.
> 
> Regards,
> 
> Berto
> 
> Alberto Garcia (3):
>   timer: Move NANOSECONDS_PER_SECONDS to timer.h
>   timer: Use a single definition of NSEC_PER_SEC for the whole codebase
>   util: Infrastructure for computing recent averages
> 
>  hw/ppc/ppc.c                 |   2 -
>  hw/ppc/spapr_rtc.c           |   3 +-
>  hw/timer/mc146818rtc.c       |   1 -
>  hw/usb/hcd-ehci.c            |   2 +-
>  include/qemu/throttle.h      |   2 -
>  include/qemu/timed-average.h |  58 ++++++++++++
>  include/qemu/timer.h         |   2 +
>  tests/Makefile               |   4 +
>  tests/rtl8139-test.c         |  10 +--
>  tests/test-throttle.c        |   8 +-
>  tests/test-timed-average.c   |  89 ++++++++++++++++++
>  tests/wdt_ib700-test.c       |  15 ++--
>  util/Makefile.objs           |   1 +
>  util/throttle.c              |   4 +-
>  util/timed-average.c         | 208 +++++++++++++++++++++++++++++++++++++++++++
>  15 files changed, 382 insertions(+), 27 deletions(-)
>  create mode 100644 include/qemu/timed-average.h
>  create mode 100644 tests/test-timed-average.c
>  create mode 100644 util/timed-average.c

Thanks, applied patches 1 & 2 to my block tree:
https://github.com/stefanha/qemu/commits/block

Patch 3 is going to be unused in QEMU 2.4 for I'm holding off on merging
it.  Please resend it together with the accounting series so it can be
merged for QEMU 2.5.

Thanks,
Stefan

[-- Attachment #2: Type: application/pgp-signature, Size: 473 bytes --]

  parent reply	other threads:[~2015-06-26  9:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-12 13:01 [Qemu-devel] [PATCH 0/3] Add infrastructure to compute timed averages Alberto Garcia
2015-06-12 13:01 ` [Qemu-devel] [PATCH 1/3] timer: Move NANOSECONDS_PER_SECONDS to timer.h Alberto Garcia
2015-06-12 13:01 ` [Qemu-devel] [PATCH 2/3] timer: Use a single definition of NSEC_PER_SEC for the whole codebase Alberto Garcia
2015-06-12 13:01 ` [Qemu-devel] [PATCH 3/3] util: Infrastructure for computing recent averages Alberto Garcia
2015-06-26  9:09 ` Stefan Hajnoczi [this message]
2015-06-26  9:18   ` [Qemu-devel] [PATCH 0/3] Add infrastructure to compute timed averages Alberto Garcia

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150626090948.GB15457@stefanha-thinkpad.redhat.com \
    --to=stefanha@gmail.com \
    --cc=berto@igalia.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-block@nongnu.org \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).