Home | History | Annotate | Download | only in adaptation

Lines Matching refs:lapse

202     long    lapse;
221 t->lapse = 0;
236 // t->lapse += 500;
237 // t->lapse /= 1000;
238 if (t->lapse)
241 ALOGD( "%s:%s, bytes=%ld, lapse=%ld (%d.%02d kbps) (bus data rate %d.%02d kbps) overhead %d(%d percent)\n",
243 t->label, t->bytes, t->lapse,
244 (int)(8 * t->bytes / t->lapse), (int)(800 * t->bytes / (t->lapse)) % 100,
245 (int)(9 * (t->bytes + t->count * t->overhead) / t->lapse), (int)(900 * (t->bytes + t->count * t->overhead) / (t->lapse)) % 100,
249 ALOGD( "%s:%s, lapse=%ld (average %ld)\n", __func__,
250 t->label, t->lapse, (int)t->lapse / t->count
265 void perf_update(tPERF_DATA* t, long lapse, long bytes)
270 lapse += 500;
271 lapse /= 1000;
274 t->lapse += lapse;