Home
last modified time | relevance | path

Searched refs:nSample (Results 1 – 3 of 3) sorted by relevance

/freebsd-13.1/usr.sbin/ppp/
H A Dthroughput.c59 t->nSample = 0; in throughput_init()
95 t->nSample = 0; in throughput_uptime()
174 old = t->in.SampleOctets[t->nSample]; in throughput_sampler()
175 t->in.SampleOctets[t->nSample] = t->OctetsIn; in throughput_sampler()
176 t->in.OctetsPerSecond = (t->in.SampleOctets[t->nSample] - old) / divisor; in throughput_sampler()
178 old = t->out.SampleOctets[t->nSample]; in throughput_sampler()
179 t->out.SampleOctets[t->nSample] = t->OctetsOut; in throughput_sampler()
188 if (++t->nSample == t->SamplePeriod) in throughput_sampler()
189 t->nSample = 0; in throughput_sampler()
205 t->nSample = 0; in throughput_start()
[all …]
H A Dthroughput.h51 int nSample; member
/freebsd-13.1/contrib/sqlite3/
H A Dsqlite3.c110843 assert( p->nSample==0
110849 p->nSample++;
111830 pIdx->nSample = 0;
111859 int nSample = pIdx->nSample;
111870 nSample--;
112038 pIdx->nSample++;
151813 assert( pIdx->nSample>0 );
151947 if( i>=pIdx->nSample ){
152059 int nUpper = p->nSample+1;
152357 assert( p->nSample>0 );
[all …]