Searched refs:nSample (Results 1 – 4 of 4) sorted by relevance
| /freebsd-12-stable/usr.sbin/ppp/ |
| D | throughput.c | 59 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() 180 t->out.OctetsPerSecond = (t->out.SampleOctets[t->nSample] - old) / divisor; in throughput_sampler() 188 if (++t->nSample == t->SamplePeriod) in throughput_sampler() 189 t->nSample = 0; in throughput_sampler() [all …]
|
| D | throughput.h | 51 int nSample; member
|
| /freebsd-12-stable/contrib/sqlite3/ |
| D | sqlite3.c | 18557 int nSample; /* Number of elements in aSample[] */ member 117490 int nSample; /* Current number of samples */ 117773 for(i=p->nSample-1; i>=0; i--){ 117792 if( p->nSample>=p->mxSample ){ 117798 memmove(pMin, &pMin[1], sizeof(p->a[0])*(p->nSample-p->iMin-1)); 117799 pSample = &p->a[p->nSample-1]; 117804 p->nSample = p->mxSample-1; 117810 assert( p->nSample==0 117811 || pNew->anLt[p->nCol-1] > p->a[p->nSample-1].anLt[p->nCol-1] ); 117814 pSample = &p->a[p->nSample]; [all …]
|
| /freebsd-12-stable/crypto/heimdal/lib/sqlite/ |
| D | sqlite3.c | 102862 int nSample; 102864 db, pColl->enc, aSample[i].u.z, aSample[i].nByte, &nSample 102870 c = pColl->xCmp(pColl->pUser, nSample, zSample, n, z);
|