Home
last modified time | relevance | path

Searched refs:NANOS_PER_SEC (Results 1 – 4 of 4) sorted by relevance

/frameworks/native/cmds/dumpstate/
DDumpstateUtil.cpp318 static_cast<float>(elapsed) / NANOS_PER_SEC, pid); in RunCommandToFd()
320 static_cast<float>(elapsed) / NANOS_PER_SEC, pid); in RunCommandToFd()
324 static_cast<float>(elapsed) / NANOS_PER_SEC, pid); in RunCommandToFd()
326 static_cast<float>(elapsed) / NANOS_PER_SEC, pid); in RunCommandToFd()
DDumpstateInternal.cpp40 return static_cast<uint64_t>(ts.tv_sec * NANOS_PER_SEC + ts.tv_nsec); in Nanotime()
137 … dprintf(out_fd, "*** %s: Timed out after %.3fs\n", path, (float)elapsed / NANOS_PER_SEC); in DumpFileFromFdToFd()
DDumpstateInternal.h45 const uint64_t NANOS_PER_SEC = 1000000000; variable
Dutils.cpp130 MYLOGD("Duration of '%s': %.3fs\n", title_.c_str(), (float)elapsed / NANOS_PER_SEC); in ~DurationReporter()
133 printf("------ %.3fs was the duration of '%s' ------\n", (float)elapsed / NANOS_PER_SEC, in ~DurationReporter()
963 (float)(Nanotime() - start) / NANOS_PER_SEC); in dump_traces()
984 (float)(Nanotime() - start) / NANOS_PER_SEC); in dump_traces()