Home
last modified time | relevance | path

Searched refs:SamplePeriod (Results 1 – 4 of 4) sorted by relevance

/freebsd/usr.sbin/ppp/
H A Dthroughput.c49 t->SamplePeriod = period; in throughput_init()
91 for (i = 0; i < t->SamplePeriod; i++) in throughput_uptime()
124 secs_up > t->SamplePeriod ? t->SamplePeriod : secs_up); in throughput_disp()
170 divisor = uptime < t->SamplePeriod ? uptime + 1 : t->SamplePeriod; in throughput_sampler()
186 if (++t->nSample == t->SamplePeriod) in throughput_sampler()
189 if (t->callback.fn != NULL && uptime >= t->SamplePeriod) in throughput_sampler()
201 for (i = 0; i < t->SamplePeriod; i++) in throughput_start()
259 for (i = 0; i < t->SamplePeriod; i++) in throughput_clear()
H A Dthroughput.h42 int SamplePeriod; member
H A Dmp.c218 if (mp->link.stats.total.SamplePeriod != mp->cfg.autoload.period) { in mp_CheckAutoloadTimer()
233 if (mp->link.stats.total.SamplePeriod != mp->cfg.autoload.period) in mp_RestartAutoloadTimer()
H A Dbundle.c1043 if (secs > t->SamplePeriod) in bundle_ShowLinks()
1044 secs = t->SamplePeriod; in bundle_ShowLinks()