Home
last modified time | relevance | path

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

/system/core/libutils/
DStopWatch.cpp46 nsecs_t elapsed = elapsedTime(); in ~StopWatch() local
48 ALOGD("StopWatch %s (us): %" PRId64 " ", mName, ns2us(elapsed)); in ~StopWatch()
63 nsecs_t elapsed = elapsedTime(); in lap() local
65 elapsed = 0; in lap()
68 mLaps[n].soFar = elapsed; in lap()
69 mLaps[n].thisLap = n ? (elapsed - mLaps[n-1].soFar) : elapsed; in lap()
72 return elapsed; in lap()
/system/core/toolbox/
Duptime.c89 int elapsed; in uptime_main() local
110 elapsed = elapsedRealtime(); in uptime_main()
111 if (elapsed < 0) { in uptime_main()
116 format_time(elapsed, up_string); in uptime_main()
118 format_time((int)(elapsed - up_time), sleep_string); in uptime_main()