On Mon, Oct 13, 2014 at 02:05:34PM +0200, Paolo Bonzini wrote:
> Il 24/09/2014 17:21, Benoît Canet ha scritto:
> > The module takes care of computing minimal and maximal
> > values over the time slice duration.
>
> The code looks good, just two comments:
>
> > +/* Get the average value
> > + *
>
Il 24/09/2014 17:21, Benoît Canet ha scritto:
> The module takes care of computing minimal and maximal
> values over the time slice duration.
The code looks good, just two comments:
> +/* Get the average value
> + *
> + * @ta: the timed average structure used
> + * @ret: the average value
> + */
The module takes care of computing minimal and maximal
values over the time slice duration.
Suggested-by: Paolo Bonzini
Signed-off-by: Benoît Canet
---
include/qemu/timed-average.h | 60 +
tests/Makefile | 2 +
tests/test-timed-average.c | 89 ++