Home
last modified time | relevance | path

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

/system/extras/tests/lib/testUtil/
DtestUtil.c265 struct timespec start, current, delta; in testDelay() local
276 delta = tsDelta(&start, &current); in testDelay()
277 if (ts2double(&delta) > amt) { break; } in testDelay()
280 remaining = double2ts(amt - ts2double(&delta)); in testDelay()
291 struct timespec start, current, delta; in testDelaySpin() local
301 delta = tsDelta(&start, &current); in testDelaySpin()
302 if (ts2double(&delta) > amt) { break; } in testDelaySpin()
/system/extras/tests/binder/benchmarks/
DbinderAddInts.cpp286 double delta = ts2double(&deltaTimespec); in client() local
287 min = (delta < min) ? delta : min; in client()
288 max = (delta > max) ? delta : max; in client()
289 total += delta; in client()
/system/extras/micro_bench/
Dmicro_bench.c75 static double mb_sec(unsigned long bytes, struct timeval *delta) { in mb_sec() argument
76 unsigned long us = delta->tv_sec * 1000000 + delta->tv_usec; in mb_sec()
/system/extras/tests/wifi/stress/
DwifiLoadScanAssoc.c135 struct timeval startTime, currentTime, delta; in main() local
269 delta = tvDelta(&startTime, &currentTime); in main()
270 if (tv2double(&delta) > duration) { break; } in main()
/system/core/libcutils/
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) in increment_overflow() argument
1582 int delta;
1585 unsigned number1 = (unsigned)(number0 + delta);
1589 if (delta >= 0) {
1597 long_increment_overflow(number, delta) in long_increment_overflow() argument
1599 int delta;
1602 unsigned long number1 = (unsigned long)(number0 + delta);
1606 if (delta >= 0) {
/system/core/toolbox/
Dnewfs_msdos.c415 off_t delta; in newfs_msdos_main() local
421 delta = bpb.bsec % bpb.spt; in newfs_msdos_main()
422 if (delta != 0) { in newfs_msdos_main()
424 (int)delta, bpb.bsec, bpb.spt); in newfs_msdos_main()
425 bpb.bsec -= delta; in newfs_msdos_main()