Home
last modified time | relevance | path

Searched refs:QuadPart (Results 1 – 25 of 114) sorted by relevance

12345

/external/deqp/framework/delibs/deutil/
DdeClock.c47 if (count.QuadPart < MAXLONGLONG / 1000000) in deGetMicroseconds()
49 DE_ASSERT(freq.QuadPart != 0); in deGetMicroseconds()
50 return count.QuadPart * 1000000 / freq.QuadPart; in deGetMicroseconds()
54 DE_ASSERT(freq.QuadPart >= 1000000); in deGetMicroseconds()
55 return count.QuadPart / (freq.QuadPart / 1000000); in deGetMicroseconds()
/external/eigen/bench/btl/generic_bench/timers/
Dportable_timer.hh59 startVal.QuadPart = 0; in Portable_Timer()
60 stopVal.QuadPart = 0; in Portable_Timer()
70 time.QuadPart = stopVal.QuadPart - startVal.QuadPart; in elapsed()
80 return ((double)L.QuadPart /(double)frequency.QuadPart) ; in LIToSecs()
/external/skia/src/utils/win/
DSkIStream.cpp133 this->fLocation.QuadPart += *pcbRead; in Read()
156 size_t skip = static_cast<size_t>(liDistanceToMove.QuadPart); in Seek()
158 this->fLocation.QuadPart = skipped; in Seek()
166 size_t skip = static_cast<size_t>(liDistanceToMove.QuadPart); in Seek()
168 this->fLocation.QuadPart += skipped; in Seek()
181 liDistanceToMove.QuadPart); in Seek()
183 this->fLocation.QuadPart = skipped; in Seek()
196 lpNewFilePointer->QuadPart = this->fLocation.QuadPart; in Seek()
210 pStatstg->cbSize.QuadPart = this->fSkStream->getLength(); in Stat()
268 pStatstg->cbSize.QuadPart = 0; in Stat()
/external/skqp/src/utils/win/
DSkIStream.cpp133 this->fLocation.QuadPart += *pcbRead; in Read()
156 size_t skip = static_cast<size_t>(liDistanceToMove.QuadPart); in Seek()
158 this->fLocation.QuadPart = skipped; in Seek()
166 size_t skip = static_cast<size_t>(liDistanceToMove.QuadPart); in Seek()
168 this->fLocation.QuadPart += skipped; in Seek()
181 liDistanceToMove.QuadPart); in Seek()
183 this->fLocation.QuadPart = skipped; in Seek()
196 lpNewFilePointer->QuadPart = this->fLocation.QuadPart; in Seek()
210 pStatstg->cbSize.QuadPart = this->fSkStream->getLength(); in Stat()
268 pStatstg->cbSize.QuadPart = 0; in Stat()
/external/libopus/silk/
Ddebug.h171 lpPerformanceCount.QuadPart -= silk_Timer_start[ID].QuadPart; \
172 if((lpPerformanceCount.QuadPart < 100000000) && \
173 (lpPerformanceCount.QuadPart >= 0)) { \
175 silk_Timer_sum[ID] += lpPerformanceCount.QuadPart; \
176 if( lpPerformanceCount.QuadPart > silk_Timer_max[ID] ) \
177 silk_Timer_max[ID] = lpPerformanceCount.QuadPart; \
178 if( lpPerformanceCount.QuadPart < silk_Timer_min[ID] ) \
179 silk_Timer_min[ID] = lpPerformanceCount.QuadPart; \
Ddebug.c54 return (unsigned long)((1000000*(lpPerformanceCount.QuadPart)) / lpFrequency.QuadPart); in silk_GetHighResolutionTime()
94 lpPerformanceCount2.QuadPart -= lpPerformanceCount1.QuadPart; in silk_TimerSave()
103 …vg += (1e6 * silk_Timer_sum[k] / silk_Timer_cnt[k] - del) / lpFrequency.QuadPart * silk_Timer_cnt[… in silk_TimerSave()
120 avg = (1e6 * silk_Timer_sum[k] / silk_Timer_cnt[k] - del) / lpFrequency.QuadPart; in silk_TimerSave()
121 … fprintf(fp, "%8.2f", (1e6 * (silk_max_64(silk_Timer_min[k] - del, 0))) / lpFrequency.QuadPart); in silk_TimerSave()
123 … fprintf(fp, "%12.2f", (1e6 * (silk_max_64(silk_Timer_max[k] - del, 0))) / lpFrequency.QuadPart); in silk_TimerSave()
/external/mesa3d/src/util/
Dos_time.c75 if(!frequency.QuadPart) in os_time_get_nano()
81 secs = counter.QuadPart / frequency.QuadPart; in os_time_get_nano()
82 nanosecs = (counter.QuadPart % frequency.QuadPart) * INT64_C(1000000000) in os_time_get_nano()
83 / frequency.QuadPart; in os_time_get_nano()
/external/libvpx/libvpx/vpx_ports/
Dvpx_timer.h78 diff.QuadPart = t->end.QuadPart - t->begin.QuadPart; in vpx_usec_timer_elapsed()
81 return diff.QuadPart * 1000000 / freq.QuadPart; in vpx_usec_timer_elapsed()
/external/libaom/libaom/aom_ports/
Daom_timer.h77 diff.QuadPart = t->end.QuadPart - t->begin.QuadPart; in aom_usec_timer_elapsed()
80 return diff.QuadPart * 1000000 / freq.QuadPart; in aom_usec_timer_elapsed()
/external/icu/icu4c/source/tools/ctestfw/unicode/
Dutimer.h181 …return ((double)(timer2->start.QuadPart - timer1->start.QuadPart))/((double)timer1->placeHolder.Qu… in uprv_delta()
184 return (timer1->placeHolder.QuadPart == timer2->placeHolder.QuadPart); in uprv_compareFrequency()
/external/curl/lib/
Dtimeval.c37 now.tv_sec = (time_t)(count.QuadPart / Curl_freq.QuadPart); in Curl_now()
38 now.tv_usec = (int)((count.QuadPart % Curl_freq.QuadPart) * 1000000 / in Curl_now()
39 Curl_freq.QuadPart); in Curl_now()
/external/lzma/CPP/Windows/
DPropVariant.cpp204 SET_PROP_FUNC(UInt64, VT_UI8, uhVal.QuadPart) in SET_PROP_FUNC()
205 SET_PROP_FUNC(Int64, VT_I8, hVal.QuadPart) in SET_PROP_FUNC()
233 prop->uhVal.QuadPart = 0; in SET_PROP_FUNC()
338 case VT_I8: return MyCompare(hVal.QuadPart, a.hVal.QuadPart); in Compare()
339 case VT_UI8: return MyCompare(uhVal.QuadPart, a.uhVal.QuadPart); in Compare()
DFileSystem.cpp99 totalSize = totalSize2.QuadPart; in MyGetDiskFreeSpace()
100 freeSize = freeSize2.QuadPart; in MyGetDiskFreeSpace()
114 totalSize = totalSize2.QuadPart; in MyGetDiskFreeSpace()
115 freeSize = freeSize2.QuadPart; in MyGetDiskFreeSpace()
DPropVariantConv.cpp108 case VT_UI8: ConvertUInt64ToString(prop.uhVal.QuadPart, dest); return; in ConvertPropVariantToShortString()
113 case VT_I8: ConvertInt64ToString(prop.hVal.QuadPart, dest); return; in ConvertPropVariantToShortString()
129 case VT_UI8: ConvertUInt64ToString(prop.uhVal.QuadPart, dest); return; in ConvertPropVariantToShortString()
134 case VT_I8: ConvertInt64ToString(prop.hVal.QuadPart, dest); return; in ConvertPropVariantToShortString()
/external/webrtc/webrtc/system_wrappers/source/
Dclock.cc142 elapsed_ms.QuadPart = elapsed_ms.QuadPart - ref_point_.counter_ms.QuadPart; in GetTime()
149 filetime_ref_as_ul.QuadPart += in GetTime()
150 static_cast<ULONGLONG>((elapsed_ms.QuadPart) * 1000 * 10); in GetTime()
172 ref.counter_ms.QuadPart = timeGetTime(); in GetSystemReferencePoint()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/Windows/
DWindowsSupport.h224 return std::chrono::nanoseconds(100 * TimeInteger.QuadPart); in toDuration()
233 TimeInteger.QuadPart -= 11644473600ll * 10000000; in toTimePoint()
236 return TimePoint<>(std::chrono::nanoseconds(100 * TimeInteger.QuadPart)); in toTimePoint()
241 TimeInteger.QuadPart = TP.time_since_epoch().count() / 100; in toFILETIME()
242 TimeInteger.QuadPart += 11644473600ll * 10000000; in toFILETIME()
/external/zlib/src/contrib/testzlib/
Dtestzlib.c26 pbeginTime64->QuadPart=__rdtsc(); in BeginCountRdtsc()
32 unsigned _int64 res=__rdtsc()-((unsigned _int64)(beginTime64.QuadPart)); in GetResRdtsc()
33 LIres.QuadPart=res; in GetResRdtsc()
78 lr.QuadPart=0; in GetResRdtsc()
223 printf("defcpr result rdtsc = %I64x\n\n",dwResRdtsc.QuadPart); in main()
264 printf("uncpr result rdtsc = %I64x\n\n",dwResRdtsc.QuadPart); in main()
/external/tensorflow/tensorflow/core/platform/windows/
Denv_time.cc63 li.QuadPart -= kUnixEpochStartTicks; in NowNanos()
66 li.QuadPart *= kFtToNanoSec; in NowNanos()
67 return li.QuadPart; in NowNanos()
/external/swiftshader/third_party/llvm-subzero/lib/Support/Windows/
DWindowsSupport.h222 return std::chrono::nanoseconds(100 * TimeInteger.QuadPart); in toDuration()
231 TimeInteger.QuadPart -= 11644473600ll * 10000000; in toTimePoint()
234 return TimePoint<>(std::chrono::nanoseconds(100 * TimeInteger.QuadPart)); in toTimePoint()
239 TimeInteger.QuadPart = TP.time_since_epoch().count() / 100; in toFILETIME()
240 TimeInteger.QuadPart += 11644473600ll * 10000000; in toFILETIME()
/external/grpc-grpc/src/core/lib/gpr/
Dtime_windows.cc40 g_time_scale = 1.0 / (double)frequency.QuadPart; in gpr_time_init()
59 diff = timestamp.QuadPart - g_start_time.QuadPart; in now_impl()
/external/pdfium/core/fxcrt/
Dcfx_fileaccess_windows.cpp104 return (FX_FILESIZE)size.QuadPart; in GetSize()
116 return (FX_FILESIZE)newPos.QuadPart; in GetPosition()
124 dist.QuadPart = pos; in SetPosition()
129 return (FX_FILESIZE)newPos.QuadPart; in SetPosition()
/external/libjpeg-turbo/
Dtjutil.c38 return (double)freq.QuadPart; in getFreq()
51 return (double)t.QuadPart / f; in getTime()
/external/pdfium/third_party/libopenjpeg20/
Dopj_clock.c52 return ((OPJ_FLOAT64) t.QuadPart / (OPJ_FLOAT64) freq.QuadPart) ; in opj_clock()
/external/ltp/testcases/kernel/io/disktest/
Dio.c75 li.QuadPart = distance; in FileSeek64()
80 li.QuadPart = -1; in FileSeek64()
83 return li.QuadPart; in FileSeek64()
/external/libusb/libusb/os/
Dwindows_nt_common.c315 hires_frequency = li_frequency.QuadPart; in windows_init_clock()
417 request->tp->tv_sec = (long)(hires_counter.QuadPart / hires_frequency); in windows_clock_gettime_threaded()
418 …request->tp->tv_nsec = (long)(((hires_counter.QuadPart % hires_frequency) / 1000) * hires_ticks_to… in windows_clock_gettime_threaded()
473 rtime.QuadPart -= epoch_time; in windows_clock_gettime()
474 tp->tv_sec = (long)(rtime.QuadPart / 10000000); in windows_clock_gettime()
475 tp->tv_nsec = (long)((rtime.QuadPart % 10000000) * 100); in windows_clock_gettime()

12345