Home
last modified time | relevance | path

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

/freebsd-13.1/usr.sbin/ppp/
H A Dthroughput.c51 t->SamplePeriod = period; in throughput_init()
93 for (i = 0; i < t->SamplePeriod; i++) in throughput_uptime()
126 secs_up > t->SamplePeriod ? t->SamplePeriod : secs_up); in throughput_disp()
172 divisor = uptime < t->SamplePeriod ? uptime + 1 : t->SamplePeriod; in throughput_sampler()
188 if (++t->nSample == t->SamplePeriod) in throughput_sampler()
191 if (t->callback.fn != NULL && uptime >= t->SamplePeriod) in throughput_sampler()
203 for (i = 0; i < t->SamplePeriod; i++) in throughput_start()
261 for (i = 0; i < t->SamplePeriod; i++) in throughput_clear()
H A Dthroughput.h44 int SamplePeriod; member
H A Dmp.c220 if (mp->link.stats.total.SamplePeriod != mp->cfg.autoload.period) { in mp_CheckAutoloadTimer()
235 if (mp->link.stats.total.SamplePeriod != mp->cfg.autoload.period) in mp_RestartAutoloadTimer()
H A Dbundle.c1045 if (secs > t->SamplePeriod) in bundle_ShowLinks()
1046 secs = t->SamplePeriod; in bundle_ShowLinks()