Searched refs:NANOS_PER_SEC (Results 1 – 1 of 1) sorted by relevance
/frameworks/native/cmds/dumpstate/ |
D | utils.cpp | 53 static const int64_t NANOS_PER_SEC = 1000000000; variable 87 (float) elapsed / NANOS_PER_SEC, title_); in ~DurationReporter() 89 MYLOGD("Duration of '%s': %.3fs\n", title_, (float) elapsed / NANOS_PER_SEC); in ~DurationReporter() 97 return (uint64_t) ts.tv_sec * NANOS_PER_SEC + ts.tv_nsec; in nanotime() 445 (float) elapsed / NANOS_PER_SEC); in _dump_file_from_fd() 778 cmd.c_str(), (float) elapsed / NANOS_PER_SEC, pid); in run_command_always() 780 (float) elapsed / NANOS_PER_SEC, pid); in run_command_always() 784 cmd.c_str(), (float) elapsed / NANOS_PER_SEC, pid); in run_command_always() 786 (float) elapsed / NANOS_PER_SEC, pid); in run_command_always() 1109 pid, (float)(DurationReporter::nanotime() - start) / NANOS_PER_SEC); in dump_traces() [all …]
|