Home
last modified time | relevance | path

Searched refs:elapsed (Results 1 – 5 of 5) sorted by relevance

/system/core/libutils/
DStopWatch.cpp39 nsecs_t elapsed = elapsedTime(); in ~StopWatch() local
41 ALOGD("StopWatch %s (us): %" PRId64 " ", mName, ns2us(elapsed)); in ~StopWatch()
56 nsecs_t elapsed = elapsedTime(); in lap() local
58 elapsed = 0; in lap()
61 mLaps[n].soFar = elapsed; in lap()
62 mLaps[n].thisLap = n ? (elapsed - mLaps[n-1].soFar) : elapsed; in lap()
65 return elapsed; in lap()
/system/netd/libnetdutils/include/netdutils/
DStopwatch.h41 float elapsed = getElapsed(now); in getTimeAndReset() local
43 return elapsed; in getTimeAndReset()
47 float elapsed = getElapsedUs(now); in getTimeAndResetUs() local
49 return elapsed; in getTimeAndResetUs()
/system/extras/tests/tcp_nuke_addr/
Dtcp_nuke_addr_test.cpp116 uint32_t elapsed = 0; in progressThread() local
120 elapsed++; in progressThread()
122 printf("%ds: %u cps, total %u\n", elapsed, total-previous, total); in progressThread()
/system/core/fs_mgr/libdm/
Ddm_test.cpp88 std::chrono::duration elapsed = std::chrono::steady_clock::now() - start_time; in WaitForUdev() local
89 if (elapsed >= 5s) { in WaitForUdev()
/system/core/fastboot/fuzzy_fastboot/
Dmain.cpp847 std::chrono::duration<double> elapsed; in TEST_F() local
855 elapsed = std::chrono::high_resolution_clock::now() - start; in TEST_F()
856 } while (i++, elapsed.count() < 5); in TEST_F()
952 std::chrono::duration<double> elapsed; in TEST_F() local
956 elapsed = std::chrono::high_resolution_clock::now() - start; in TEST_F()
957 } while (i++, elapsed.count() < 5); in TEST_F()
965 std::chrono::duration<double> elapsed; in TEST_F() local
972 elapsed = std::chrono::high_resolution_clock::now() - start; in TEST_F()
973 } while (elapsed.count() < 10); in TEST_F()