OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:hires_frequency
(Results
1 - 2
of
2
) sorted by null
/external/libusb/libusb/os/
windows_nt_common.c
40
static uint64_t
hires_frequency
;
variable
315
hires_frequency
= li_frequency.QuadPart;
316
hires_ticks_to_ps = UINT64_C(1000000000000) /
hires_frequency
;
317
usbi_dbg("hires timer available (Frequency: %"PRIu64" Hz)",
hires_frequency
);
361
hires_frequency
= 0;
417
request->tp->tv_sec = (long)(hires_counter.QuadPart /
hires_frequency
);
418
request->tp->tv_nsec = (long)(((hires_counter.QuadPart %
hires_frequency
) / 1000) * hires_ticks_to_ps);
wince_usb.c
36
static uint64_t
hires_frequency
, hires_ticks_to_ps;
variable
209
hires_frequency
= li_frequency.QuadPart;
212
hires_ticks_to_ps = UINT64_C(1000000000000) /
hires_frequency
;
213
usbi_dbg("hires timer available (Frequency: %"PRIu64" Hz)",
hires_frequency
);
216
hires_frequency
= 0;
827
if (
hires_frequency
!= 0 && QueryPerformanceCounter(&hires_counter)) {
828
tp->tv_sec = (long)(hires_counter.QuadPart /
hires_frequency
);
829
tp->tv_nsec = (long)(((hires_counter.QuadPart %
hires_frequency
) / 1000) * hires_ticks_to_ps);
Completed in 253 milliseconds