userial_linux.c | 171 long lapse; member in struct:__anon10152 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 [all...] |