• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/sys/contrib/zstd/programs/

Lines Matching refs:UTIL_time_t

26 UTIL_time_t UTIL_getTime(void) { UTIL_time_t x; QueryPerformanceCounter(&x); return x; }
28 PTime UTIL_getSpanTimeMicro(UTIL_time_t clockStart, UTIL_time_t clockEnd)
42 PTime UTIL_getSpanTimeNano(UTIL_time_t clockStart, UTIL_time_t clockEnd)
60 UTIL_time_t UTIL_getTime(void) { return mach_absolute_time(); }
62 PTime UTIL_getSpanTimeMicro(UTIL_time_t clockStart, UTIL_time_t clockEnd)
73 PTime UTIL_getSpanTimeNano(UTIL_time_t clockStart, UTIL_time_t clockEnd)
93 UTIL_time_t UTIL_getTime(void)
97 UTIL_time_t time = UTIL_TIME_INITIALIZER;
105 static UTIL_time_t UTIL_getSpanTime(UTIL_time_t begin, UTIL_time_t end)
107 UTIL_time_t diff;
118 PTime UTIL_getSpanTimeMicro(UTIL_time_t begin, UTIL_time_t end)
120 UTIL_time_t const diff = UTIL_getSpanTime(begin, end);
127 PTime UTIL_getSpanTimeNano(UTIL_time_t begin, UTIL_time_t end)
129 UTIL_time_t const diff = UTIL_getSpanTime(begin, end);
140 UTIL_time_t UTIL_getTime(void) { return clock(); }
141 PTime UTIL_getSpanTimeMicro(UTIL_time_t clockStart, UTIL_time_t clockEnd) { return 1000000ULL * (clockEnd - clockStart) / CLOCKS_PER_SEC; }
142 PTime UTIL_getSpanTimeNano(UTIL_time_t clockStart, UTIL_time_t clockEnd) { return 1000000000ULL * (clockEnd - clockStart) / CLOCKS_PER_SEC; }
149 PTime UTIL_clockSpanMicro(UTIL_time_t clockStart )
151 UTIL_time_t const clockEnd = UTIL_getTime();
156 PTime UTIL_clockSpanNano(UTIL_time_t clockStart )
158 UTIL_time_t const clockEnd = UTIL_getTime();
164 UTIL_time_t const clockStart = UTIL_getTime();
165 UTIL_time_t clockEnd;