Home
last modified time | relevance | path

Searched refs:hires_counter (Results 1 – 2 of 2) sorted by relevance

/external/libusb/libusb/os/
Dwindows_nt_common.c391 LARGE_INTEGER hires_counter; in windows_clock_gettime_threaded() local
416 QueryPerformanceCounter(&hires_counter); in windows_clock_gettime_threaded()
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()
Dwince_usb.c820 LARGE_INTEGER hires_counter; in wince_clock_gettime() local
827 if (hires_frequency != 0 && QueryPerformanceCounter(&hires_counter)) { in wince_clock_gettime()
828 tp->tv_sec = (long)(hires_counter.QuadPart / hires_frequency); in wince_clock_gettime()
829 tp->tv_nsec = (long)(((hires_counter.QuadPart % hires_frequency) / 1000) * hires_ticks_to_ps); in wince_clock_gettime()