[Libguestfs] [PATCH nbdkit 2/3] filters: stats: Measure time per operation

Nir Soffer nsoffer at redhat.com
Sat Nov 30 21:48:23 UTC 2019


On Sat, Nov 30, 2019 at 6:18 PM Richard W.M. Jones <rjones at redhat.com> wrote:
>
>
> > > The rest of the code is screaming out to be refactored so we aren't
> > > repeating the same change over and over.  How about using something
> > > like the attached patch as an initial refactoring?
> >
> > Very nice, do you want to push it? I can include it in v2.
>
> Yes I'll push it now.
>
> Will think about the rest of your email later!

Meanwhile I posted v2:
https://www.redhat.com/archives/libguestfs/2019-November/msg00356.html

I added a simpler version of total stats, reusing the print_stat().





More information about the Libguestfs mailing list