Home
last modified time | relevance | path

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

/freebsd-14.2/usr.sbin/ppp/
H A Dthroughput.c57 t->nSample = 0; in throughput_init()
93 t->nSample = 0; in throughput_uptime()
172 old = t->in.SampleOctets[t->nSample]; in throughput_sampler()
173 t->in.SampleOctets[t->nSample] = t->OctetsIn; in throughput_sampler()
174 t->in.OctetsPerSecond = (t->in.SampleOctets[t->nSample] - old) / divisor; in throughput_sampler()
176 old = t->out.SampleOctets[t->nSample]; in throughput_sampler()
177 t->out.SampleOctets[t->nSample] = t->OctetsOut; in throughput_sampler()
186 if (++t->nSample == t->SamplePeriod) in throughput_sampler()
187 t->nSample = 0; in throughput_sampler()
203 t->nSample = 0; in throughput_start()
[all …]
H A Dthroughput.h49 int nSample; member
/freebsd-14.2/contrib/sqlite3/
H A Dsqlite3.c119072 assert( p->nSample==0
119078 p->nSample++;
120134 pIdx->nSample = 0;
120163 int nSample = pIdx->nSample;
120174 nSample--;
120353 pIdx->nSample++;
163724 assert( pIdx->nSample>0 );
163864 if( i>=pIdx->nSample ){
163976 int nUpper = p->nSample+1;
164275 assert( p->nSample>0 );
[all …]