VirtualBox

Changeset 22245 in vbox for trunk/src/VBox/VMM/VMMAll


Ignore:
Timestamp:
Aug 13, 2009 3:58:00 PM (15 years ago)
Author:
vboxsync
Message:

Only update the last seen tsc when the new one is larger.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/TMAllCpu.cpp

    r22242 r22245  
    292292    VMCPU_ASSERT_EMT(pVCpu);
    293293
    294     Assert(pVCpu->tm.s.u64TSCLastSeen < u64LastSeenTick);
    295     pVCpu->tm.s.u64TSCLastSeen = u64LastSeenTick;
     294    LogFlow(("TMCpuTickSetLastSeen %RX64\n", u64LastSeenTick));
     295    if (pVCpu->tm.s.u64TSCLastSeen < u64LastSeenTick)
     296        pVCpu->tm.s.u64TSCLastSeen = u64LastSeenTick;
    296297    return VINF_SUCCESS;
    297298}
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