Home
last modified time | relevance | path

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

/frameworks/native/cmds/dumpstate/
DDumpstateUtil.cpp345 static_cast<float>(elapsed) / NANOS_PER_SEC, pid); in RunCommandToFd()
347 static_cast<float>(elapsed) / NANOS_PER_SEC, pid); in RunCommandToFd()
351 static_cast<float>(elapsed) / NANOS_PER_SEC, pid); in RunCommandToFd()
353 static_cast<float>(elapsed) / NANOS_PER_SEC, pid); in RunCommandToFd()
DDumpstateInternal.cpp45 return static_cast<uint64_t>(ts.tv_sec * NANOS_PER_SEC + ts.tv_nsec); in Nanotime()
175 … dprintf(out_fd, "*** %s: Timed out after %.3fs\n", path, (float)elapsed / NANOS_PER_SEC); in DumpFileFromFdToFd()
DDumpstateInternal.h51 const uint64_t NANOS_PER_SEC = 1000000000; variable
Ddumpstate.cpp1854 pid, (float)(Nanotime() - start) / NANOS_PER_SEC); in DumpTraces()
2989 float elapsed = (float)(Nanotime() - started_) / NANOS_PER_SEC; in ~DurationReporter()
/frameworks/base/cmds/incidentd/src/
Dincidentd_util.cpp115 const uint64_t NANOS_PER_SEC = 1000000000; variable
119 return static_cast<uint64_t>(ts.tv_sec * NANOS_PER_SEC + ts.tv_nsec); in Nanotime()