VirtualBox

Changeset 9959 in vbox for trunk/src/VBox/Runtime/r0drv/nt


Ignore:
Timestamp:
Jun 26, 2008 2:26:46 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
32388
Message:

ring-0 nt: fixed typo in RTTimerStart that caused timers to run at a 10th of the intended frequence.

File:
1 edited

Legend:

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

    r9586 r9959  
    227227                     : &pTimer->aSubTimers[0].NtDpc;
    228228
    229     uint64_t u64Interval = pTimer->u64NanoInterval / 100000; /* This is ms, believe it or not. */
     229    uint64_t u64Interval = pTimer->u64NanoInterval / 1000000; /* This is ms, believe it or not. */
    230230    ULONG ulInterval = (ULONG)u64Interval;
    231231    if (ulInterval != u64Interval)
Note: See TracChangeset for help on using the changeset viewer.

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