Lines Matching refs:PTime
28 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 micro = 0;
127 PTime UTIL_getSpanTimeNano(UTIL_time_t begin, UTIL_time_t end)
130 PTime nano = 0;
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 )
156 PTime UTIL_clockSpanNano(UTIL_time_t clockStart )