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

/frameworks/native/cmds/dumpstate/
H A DDumpstateInternal.h51 const uint64_t NANOS_PER_SEC = 1000000000; variable
H A DDumpstateUtil.cpp334 static_cast<float>(elapsed) / NANOS_PER_SEC, pid);
336 static_cast<float>(elapsed) / NANOS_PER_SEC, pid);
340 static_cast<float>(elapsed) / NANOS_PER_SEC, pid);
342 static_cast<float>(elapsed) / NANOS_PER_SEC, pid);
H A DDumpstateInternal.cpp45 return static_cast<uint64_t>(ts.tv_sec * NANOS_PER_SEC + ts.tv_nsec);
169 dprintf(out_fd, "*** %s: Timed out after %.3fs\n", path, (float)elapsed / NANOS_PER_SEC);
H A Dutils.cpp105 MYLOGD("Duration of '%s': %.3fs\n", title_.c_str(), (float)elapsed / NANOS_PER_SEC);
108 printf("------ %.3fs was the duration of '%s' ------\n", (float)elapsed / NANOS_PER_SEC,
895 pid, (float)(Nanotime() - start) / NANOS_PER_SEC);
1005 (float)(Nanotime() - start) / NANOS_PER_SEC);
1027 (float)(Nanotime() - start) / NANOS_PER_SEC);
/frameworks/base/cmds/incidentd/src/
H A Dincidentd_util.cpp116 const uint64_t NANOS_PER_SEC = 1000000000; member in namespace:android::os::incidentd
120 return static_cast<uint64_t>(ts.tv_sec * NANOS_PER_SEC + ts.tv_nsec);

Completed in 88 milliseconds