Searched refs:NS_PER_SEC (Results 1 – 17 of 17) sorted by relevance
23 #define NS_PER_SEC 1000000000ULL macro111 this->tv_nsec = NS_PER_SEC + this->tv_nsec - T.tv_nsec;125 if (this->tv_nsec >= NS_PER_SEC) {126 this->tv_nsec -= NS_PER_SEC;139 return static_cast<uint64_t>(tv_sec) * NS_PER_SEC + tv_nsec; in nsec()143 tv_nsec / (NS_PER_SEC / US_PER_SEC); in usec()147 tv_nsec / (NS_PER_SEC / MS_PER_SEC); in msec()
64 return static_cast<uint64_t>(entry.sec) * NS_PER_SEC + entry.nsec; in nsec()
23 #ifndef NS_PER_SEC24 #define NS_PER_SEC 1000000000ULL macro
27 #ifndef NS_PER_SEC28 #define NS_PER_SEC 1000000000ULL macro
347 nsecs = (unsigned long long)t.tv_sec*NS_PER_SEC + t.tv_nsec; in main()353 nsecs = ((unsigned long long)t.tv_sec*NS_PER_SEC + t.tv_nsec) - nsecs; in main()354 printf("Scan Time %0.4f\n", ((double)nsecs)/NS_PER_SEC); in main()
1162 multiplier = NS_PER_SEC; in readSeconds()1172 if (left->tv_nsec >= (long)NS_PER_SEC) { in sumTimespec()1173 left->tv_nsec -= NS_PER_SEC; in sumTimespec()1184 result->tv_nsec += NS_PER_SEC; in subTimespec()1191 return (long long)now->tv_sec * NS_PER_SEC + now->tv_nsec; in nsecTimespec()1399 convert.tv_sec += crun / (long long)NS_PER_SEC; in convertMonotonic()1401 convert.tv_nsec -= (-crun) % NS_PER_SEC; in convertMonotonic()1403 convert.tv_nsec += NS_PER_SEC; in convertMonotonic()1407 convert.tv_nsec += crun % NS_PER_SEC; in convertMonotonic()1408 if (convert.tv_nsec >= (long)NS_PER_SEC) { in convertMonotonic()[all …]
99 unsigned long mul = NS_PER_SEC; in strptime()
82 (buf.l.realtime.tv_nsec >= NS_PER_SEC) || in PmsgRead()
66 #define NS_PER_SEC 1000000000ULL macro120 return static_cast<uint64_t>(t.tv_sec * NS_PER_SEC + t.tv_nsec); in NanoTime()140 if ((NanoTime() - start) > NS_PER_SEC) { in WaitForStop()268 } while ((NanoTime() - start) < seconds * NS_PER_SEC); in WaitForNonZero()420 } while (!verified && (NanoTime() - start) <= 5 * NS_PER_SEC); in VerifyProcTest()528 ((NanoTime() - start) <= 5 * NS_PER_SEC)); in TEST_F()1178 if ((NanoTime() - start) > 5 * NS_PER_SEC) { in TEST_F()1347 if ((NanoTime() - start) > 5 * NS_PER_SEC) { in TEST_F()1467 if ((NanoTime() - start) > 5 * NS_PER_SEC) { in TEST_F()1742 ASSERT_TRUE(NanoTime() - start < 5 * NS_PER_SEC) in UnwindThroughSignal()[all …]
185 mem_st->process_start_time_ns = starttime * (NS_PER_SEC / sysconf(_SC_CLK_TCK)); in memory_stat_from_procfs()
102 #define NS_PER_MS (NS_PER_SEC / MS_PER_SEC)798 mem_st.process_start_time_ns = starttime * (NS_PER_SEC / sysconf(_SC_CLK_TCK)); in poll_kernel()
61 if (elem.realtime().nsec() > (last.realtime().nsec() + 60 * NS_PER_SEC)) return DIFFERENT; in Identical()265 uint64_t current = element->realtime().nsec() - (EXPIRE_RATELIMIT * NS_PER_SEC); in clear()
267 .nsec = rand_uint32(NS_PER_SEC), in GenerateRandomLogMessage()
336 unsigned long multiplier = NS_PER_SEC; in sniffTime()
699 state.SetIterationTime((end - start) / (double)NS_PER_SEC); in BM_log_latency()
470 log_time modulo(0, NS_PER_SEC); in lastLogTime()