Searched defs:duration (Results 1 - 7 of 7) sorted by relevance

/system/extras/tests/wifi/stress/
H A DwifiLoadScanAssoc.c133 float duration = DEFAULT_DURATION; local
161 duration = strtod(optarg, &chptr);
162 if ((*chptr != '\0') || (duration < 0.0)) {
163 testPrintE("Invalid command-line specified duration of: %s",
252 testPrintE(" %s [-s start_pass] [-e end_pass] [-d duration]",
256 testPrintI("duration: %g", duration);
267 // Stop if duration of work has already been performed
270 if (tv2double(&delta) > duration) { break; }
/system/core/logd/
H A DLogStatistics.cpp725 unsigned long long duration = minimum(i); local
726 if (duration) {
727 duration /= n;
728 if (duration >= (NS_PER_SEC * max_seconds)) {
729 duration = NS_PER_SEC * (max_seconds - 1);
736 if (duration >= (NS_PER_SEC * 10)) {
738 (duration + (NS_PER_SEC / 2))
740 } else if (duration >= (NS_PER_SEC / (1000 / 10))) {
742 (duration + (NS_PER_SEC / 2 / 1000))
744 } else if (duration >
[all...]
/system/core/libpixelflinger/codeflinger/
H A DARMAssembler.cpp183 const int64_t duration = ggl_system_time() - mDuration; local
185 ALOGI(format, name, int(pc()-base()), base(), pc(), duration);
197 printf(format, name, int(pc()-base()), base(), pc(), duration);
H A DGGLAssembler.cpp96 int64_t duration = ggl_system_time(); local
H A DArm64Assembler.cpp317 const int64_t duration = ggl_system_time() - mDuration; local
319 ALOGI(format, name, int(pc()-base()), base(), pc(), duration);
326 printf(format, name, int(pc()-base()), base(), pc(), duration);
H A DMIPSAssembler.cpp1404 const int64_t duration = ggl_system_time() - mDuration; local
1406 ALOGI(format, name, int(pc()-base()), base(), pc(), duration);
/system/core/healthd/
H A Dhealthd_mode_charger.cpp482 int64_t duration = now - charger->keys[code].timestamp; local
483 int64_t secs = duration / 1000;
484 int64_t msecs = duration - secs * 1000;

Completed in 125 milliseconds