Searched refs:NANOS_PER_SEC (Results 1 – 1 of 1) sorted by relevance
45 static const int64_t NANOS_PER_SEC = 1000000000; variable301 return (int64_t)ts.tv_sec * NANOS_PER_SEC + ts.tv_nsec; in nanotime()358 if (title) printf("[%s: %.3fs elapsed]\n\n", command, (float)elapsed / NANOS_PER_SEC); in run_command()362 if (timeout_seconds && elapsed / NANOS_PER_SEC > timeout_seconds) { in run_command()363 …"*** %s: Timed out after %.3fs (killing pid %d)\n", command, (float) elapsed / NANOS_PER_SEC, pid); in run_command()623 pid, (float)(nanotime() - start) / NANOS_PER_SEC); in dump_traces()643 pid, (float)(nanotime() - start) / NANOS_PER_SEC); in dump_traces()