Lines Matching refs:lapse
171 long lapse;
190 t->lapse = 0;
205 // t->lapse += 500;
206 // t->lapse /= 1000;
207 if (t->lapse)
210 ALOGD( "%s:%s, bytes=%ld, lapse=%ld (%d.%02d kbps) (bus data rate %d.%02d kbps) overhead %d(%d percent)\n",
212 t->label, t->bytes, t->lapse,
213 (int)(8 * t->bytes / t->lapse), (int)(800 * t->bytes / (t->lapse)) % 100,
214 (int)(9 * (t->bytes + t->count * t->overhead) / t->lapse), (int)(900 * (t->bytes + t->count * t->overhead) / (t->lapse)) % 100,
218 ALOGD( "%s:%s, lapse=%ld (average %ld)\n", __func__,
219 t->label, t->lapse, (int)t->lapse / t->count
234 void perf_update(tPERF_DATA* t, long lapse, long bytes)
239 lapse += 500;
240 lapse /= 1000;
243 t->lapse += lapse;