VirtualBox

Changeset 9586 in vbox


Ignore:
Timestamp:
Jun 11, 2008 12:36:56 AM (17 years ago)
Author:
vboxsync
Message:

Fixed missing time unit conversion in RTTimerREquestSystemGranularity.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r0drv/nt/timer-r0drv-nt.cpp

    r9583 r9586  
    431431    ULONG ulGranted = g_pfnrtNtExSetTimerResolution(u32Request / 100, TRUE);
    432432    if (pu32Granted)
    433         *pu32Granted = ulGranted;
     433        *pu32Granted = ulGranted * 100; /* NT -> ns */
    434434    return VINF_SUCCESS;
    435435}
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