Searched refs:PTime (Results 1 - 3 of 3) sorted by relevance

/freebsd-13-stable/sys/contrib/zstd/programs/
H A Dtimefn.h36 typedef uint64_t PTime; /* Precise Time */ typedef
38 typedef unsigned long long PTime; /* does not support compilers without long long support */ typedef
55 typedef PTime UTIL_time_t;
75 PTime UTIL_getSpanTimeMicro(UTIL_time_t clockStart, UTIL_time_t clockEnd);
76 PTime UTIL_getSpanTimeNano(UTIL_time_t clockStart, UTIL_time_t clockEnd);
78 #define SEC_TO_MICRO ((PTime)1000000)
79 PTime UTIL_clockSpanMicro(UTIL_time_t clockStart);
80 PTime UTIL_clockSpanNano(UTIL_time_t clockStart);
H A Dtimefn.c28 PTime UTIL_getSpanTimeMicro(UTIL_time_t clockStart, UTIL_time_t clockEnd)
42 PTime UTIL_getSpanTimeNano(UTIL_time_t clockStart, UTIL_time_t clockEnd)
62 PTime UTIL_getSpanTimeMicro(UTIL_time_t clockStart, UTIL_time_t clockEnd)
70 return (((clockEnd - clockStart) * (PTime)rate.numer) / ((PTime)rate.denom))/1000ULL;
73 PTime UTIL_getSpanTimeNano(UTIL_time_t clockStart, UTIL_time_t clockEnd)
81 return ((clockEnd - clockStart) * (PTime)rate.numer) / ((PTime)rate.denom);
118 PTime UTIL_getSpanTimeMicro(UTIL_time_t begin, UTIL_time_t end)
121 PTime micr
[all...]
H A Dbenchfn.c140 { PTime const totalTime = UTIL_clockSpanNano(clockStart);
152 PTime timeSpent_ns;
153 PTime timeBudget_ns;
154 PTime runBudget_ns;
190 timedFnState->timeBudget_ns = (PTime)total_ms * TIMELOOP_NANOSEC / 1000;
191 timedFnState->runBudget_ns = (PTime)run_ms * TIMELOOP_NANOSEC / 1000;
214 PTime const runBudget_ns = cont->runBudget_ns;
215 PTime const runTimeMin_ns = runBudget_ns / 2;

Completed in 64 milliseconds