[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v3 0/3] timed average infrastructure for use in bloc
From: |
Benoît Canet |
Subject: |
[Qemu-devel] [PATCH v3 0/3] timed average infrastructure for use in block statistics |
Date: |
Wed, 24 Sep 2014 17:21:02 +0200 |
Hi,
Here is the new iteration of the timed average module.
A better algorithm avoiding unwanted noise has been implemented and the test
have been rewritten as suggested.
Best regards
in V3:
Add Eric rev by of patch 2
drop unneeded (double) casts [Eric]
Implement new algorithm [Paolo]
rewrite commit message [Markus]
stub cpu_get_clock in tests [Paolo]
Benoît
Benoît Canet (3):
throttle: Make NANOSECONDS_PER_SECOND an integer
timers: Move NANOSECONDS_PER_SECONDS to timer.h for future reuse
util: Infrastructure for computing recent averages
include/qemu/throttle.h | 2 -
include/qemu/timed-average.h | 60 +++++++++++++
include/qemu/timer.h | 2 +
tests/Makefile | 2 +
tests/test-timed-average.c | 89 ++++++++++++++++++
util/Makefile.objs | 1 +
util/timed-average.c | 208 +++++++++++++++++++++++++++++++++++++++++++
7 files changed, 362 insertions(+), 2 deletions(-)
create mode 100644 include/qemu/timed-average.h
create mode 100644 tests/test-timed-average.c
create mode 100644 util/timed-average.c
--
2.1.1
- [Qemu-devel] [PATCH v3 0/3] timed average infrastructure for use in block statistics,
Benoît Canet <=
[Qemu-devel] [PATCH v3 3/3] util: Infrastructure for computing recent averages, Benoît Canet, 2014/09/24