Searched refs:seconds (Results 1 - 5 of 5) sorted by relevance

/system/core/toolbox/
H A Duptime.c42 int seconds, minutes, hours, days; local
44 seconds = time % 60;
52 sprintf(buffer, "%d days, %02d:%02d:%02d", days, hours, minutes, seconds);
54 sprintf(buffer, "%02d:%02d:%02d", hours, minutes, seconds);
/system/core/include/utils/
H A DTimers.h34 typedef int64_t nsecs_t; // nano-seconds
73 static inline nsecs_t seconds(nsecs_t v) { return s2ns(v); } function
/system/core/fastboot/
H A Dusb_windows.c382 void sleep(int seconds) argument
384 Sleep(seconds * 1000);
/system/core/liblog/tests/
H A Dbenchmark_main.cpp144 double seconds = static_cast<double>(gBenchmarkTotalTimeNs)/1e9; local
145 snprintf(throughput, sizeof(throughput), " %8.2f MiB/s", mib_processed/seconds);
/system/core/libbacktrace/
H A Dbacktrace_test.cpp190 bool WaitForNonZero(int32_t* value, uint64_t seconds) { argument
196 } while ((NanoTime() - start) < seconds * NS_PER_SEC);
286 // If 5 seconds have passed, then we are done.
463 // Wait up to 2 seconds for the tid to be set.
508 // Wait up to 2 seconds for the tid to be set.
856 // Wait up to 2 seconds for the tid to be set.

Completed in 140 milliseconds