Searched refs:NS_PER_SEC (Results 1 – 16 of 16) 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()
1153 multiplier = NS_PER_SEC; in readSeconds()1163 if (left->tv_nsec >= (long)NS_PER_SEC) { in sumTimespec()1164 left->tv_nsec -= NS_PER_SEC; in sumTimespec()1175 result->tv_nsec += NS_PER_SEC; in subTimespec()1182 return (long long)now->tv_sec * NS_PER_SEC + now->tv_nsec; in nsecTimespec()1383 convert.tv_sec += crun / (long long)NS_PER_SEC; in convertMonotonic()1385 convert.tv_nsec -= (-crun) % NS_PER_SEC; in convertMonotonic()1387 convert.tv_nsec += NS_PER_SEC; in convertMonotonic()1391 convert.tv_nsec += crun % NS_PER_SEC; in convertMonotonic()1392 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()
39 #define NS_PER_MS (NS_PER_SEC / MS_PER_SEC)
144 mem_st->process_start_time_ns = starttime * (NS_PER_SEC / sysconf(_SC_CLK_TCK)); in memory_stat_from_procfs()
110 #define NS_PER_MS (NS_PER_SEC / MS_PER_SEC)861 mem_st.process_start_time_ns = starttime * (NS_PER_SEC / sysconf(_SC_CLK_TCK)); in poll_kernel()
236 .nsec = rand_uint32(NS_PER_SEC), in GenerateRandomLogMessage()
334 unsigned long multiplier = NS_PER_SEC; in sniffTime()
695 state.SetIterationTime((end - start) / (double)NS_PER_SEC); in BM_log_latency()
464 log_time modulo(0, NS_PER_SEC); in lastLogTime()