QueryPerformanceCounter

QueryPerformanceCounter

我想知道Windows函数GetSystemTimePreciseAsFileTime是否使用QueryPerformanceCounter/RDTSC计数器以亚微秒的分辨率检索UTC时间?

最佳答案

在内部GetSystemTimeAsPreciseFileTime确实使用QueryPerformanceCounter USER_SHARED_DATA 中的某些值以及一些返回其值的算法。

关于c++ - GetSystemTimePreciseAsFileTime和QueryPerformanceCounter,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/32376799/

10-10 18:44