On Fri, Oct 02, 2015 at 05:26:14PM +0300, Alberto Garcia wrote:
> +int64_t cpu_get_clock(void)
> +{
> +return my_clock_value;
> +}
Please add a comment here explaining that this is the clock for
QEMU_CLOCK_VIRTUAL.
> +/* Account a value
> + *
> + * @ta:the TimedAverage structure
> + * @va
This module computes the average of a set of values within a time
window, keeping also track of the minimum and maximum values.
In order to produce more accurate results it works internally by
creating two time windows of the same period, offsetted by half of
that period. Values are accounted on b