Searched refs:delta (Results 1 - 6 of 6) sorted by relevance

/system/extras/tests/lib/testUtil/
H A DtestUtil.c265 struct timespec start, current, delta; local
276 delta = tsDelta(&start, &current);
277 if (ts2double(&delta) > amt) { break; }
280 remaining = double2ts(amt - ts2double(&delta));
291 struct timespec start, current, delta; local
301 delta = tsDelta(&start, &current);
302 if (ts2double(&delta) > amt) { break; }
/system/extras/tests/binder/benchmarks/
H A DbinderAddInts.cpp286 double delta = ts2double(&deltaTimespec); local
287 min = (delta < min) ? delta : min;
288 max = (delta > max) ? delta : max;
289 total += delta;
/system/extras/micro_bench/
H A Dmicro_bench.c77 static double mb_sec(unsigned long bytes, struct timeval *delta) { argument
78 unsigned long us = delta->tv_sec * 1000000 + delta->tv_usec;
/system/extras/tests/wifi/stress/
H A DwifiLoadScanAssoc.c135 struct timeval startTime, currentTime, delta; local
269 delta = tvDelta(&startTime, &currentTime);
270 if (tv2double(&delta) > duration) { break; }
469 // Obtain end time and display delta
/system/core/libcutils/
H A Dtztime.c187 static int increment_overflow P((int * number, int delta));
189 static int long_increment_overflow P((long * number, int delta));
1580 increment_overflow(number, delta)
1582 int delta;
1585 unsigned number1 = (unsigned)(number0 + delta);
1589 if (delta >= 0) {
1597 long_increment_overflow(number, delta)
1599 int delta;
1602 unsigned long number1 = (unsigned long)(number0 + delta);
1606 if (delta >
[all...]
/system/core/toolbox/
H A Dnewfs_msdos.c415 off_t delta; local
421 delta = bpb.bsec % bpb.spt;
422 if (delta != 0) {
424 (int)delta, bpb.bsec, bpb.spt);
425 bpb.bsec -= delta;

Completed in 91 milliseconds