Re: [PATCH 2/3] device: add statistics interface

2016-08-01 Thread Alfonso Sanchez-Beato
Hey Dan, On Wed, Jul 27, 2016 at 5:49 PM, Dan Williams wrote: > On Thu, 2016-06-23 at 15:25 +0200, Alfonso Sanchez-Beato wrote: > > Add statistics interface to all device instances. When active, the > > properties of this interface are refreshed whenever there is network > >

Re: [PATCH 2/3] device: add statistics interface

2016-07-27 Thread Dan Williams
On Thu, 2016-06-23 at 15:25 +0200, Alfonso Sanchez-Beato wrote: > Add statistics interface to all device instances. When active, the > properties of this interface are refreshed whenever there is network > activity for the device. > > Activation is performed by changing RefreshRateMs property. If

Re: [PATCH 2/3] device: add statistics interface

2016-06-28 Thread Beniamino Galvani
On Thu, Jun 23, 2016 at 03:25:24PM +0200, Alfonso Sanchez-Beato wrote: > --- /dev/null > +++ b/introspection/nm-device-statistics.xml > @@ -0,0 +1,43 @@ > + > + > + > + > +

Re: [PATCH 2/3] device: add statistics interface

2016-06-23 Thread Thomas Haller
On Thu, 2016-06-23 at 15:25 +0200, Alfonso Sanchez-Beato wrote: Hi again. > Add statistics interface to all device instances. When active, the > properties of this interface are refreshed whenever there is network > activity for the device. > +static int > +send_getlink (NMDeviceStatistics

Re: [PATCH 2/3] device: add statistics interface

2016-06-23 Thread Thomas Haller
On Thu, 2016-06-23 at 15:25 +0200, Alfonso Sanchez-Beato wrote: Hi Alfonso, > Add statistics interface to all device instances. When active, the > properties of this interface are refreshed whenever there is network > activity for the device. > > Activation is performed by changing