Re: [PATCH 5/6] base-bearer: setup periodic stats loading

2015-12-01 Thread Dan Williams
On Mon, 2015-11-30 at 23:25 +0100, Aleksander Morgado wrote: > On Mon, Nov 30, 2015 at 5:33 PM, Dan Williams > wrote: > > > +static gboolean > > > +stats_update_cb (MMBaseBearer *self) > > > +{ > > > +/* If the implementation knows how to update stat values, > > > run it > >

Re: [PATCH 5/6] base-bearer: setup periodic stats loading

2015-11-30 Thread Dan Williams
On Fri, 2015-11-27 at 14:51 +0100, Aleksander Morgado wrote: > If the bearer implementation supports it, load stats periodically. By > default > every 30s for now. > --- > src/mm-base-bearer.c | 123 > +-- > src/mm-base-bearer.h | 16 +-- > 2

Re: [PATCH 5/6] base-bearer: setup periodic stats loading

2015-11-30 Thread Aleksander Morgado
On Mon, Nov 30, 2015 at 5:33 PM, Dan Williams wrote: >> +static gboolean >> +stats_update_cb (MMBaseBearer *self) >> +{ >> +/* If the implementation knows how to update stat values, run it >> */ >> +if (MM_BASE_BEARER_GET_CLASS (self)->reload_stats && >> +