VirtualBox

Changeset 70406 in vbox for trunk/src


Ignore:
Timestamp:
Jan 1, 2018 5:46:37 PM (7 years ago)
Author:
vboxsync
Message:

IPRT/time-win.cpp: Use RtlGetInterruptTimePrecise for RTTimeSystemNanoTS when available (based on RDTSC) and using KUSER_SHARED_DATA from nt.h instead of duplicating it and its address. [build fix]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/testcase/tstTime-3.cpp

    r70405 r70406  
    6868
    6969        uint64_t u64RTElapsedTS = RTTimeNanoTS();
    70         uint64_t u64OSElapsedTS = OSNanoTS();
     70        uint64_t u64OSElapsedTS = RTTimeSystemNanoTS();
    7171        u64RTElapsedTS -= u64RTStartTS;
    7272        u64OSElapsedTS -= u64OSStartTS;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette