VirtualBox

Changeset 22299 in vbox


Ignore:
Timestamp:
Aug 17, 2009 2:48:03 PM (15 years ago)
Author:
vboxsync
Message:

Reset last seen TSC when the tsc is changed (msr).

File:
1 edited

Legend:

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

    r22245 r22299  
    269269     * call tmCpuTickPause here since we overwrite u64TSC anyway.
    270270     */
    271     bool        fTSCTicking = pVCpu->tm.s.fTSCTicking;
    272     pVCpu->tm.s.fTSCTicking = false;
    273     pVCpu->tm.s.u64TSC      = u64Tick;
     271    bool        fTSCTicking    = pVCpu->tm.s.fTSCTicking;
     272    pVCpu->tm.s.fTSCTicking    = false;
     273    pVCpu->tm.s.u64TSC         = u64Tick;
     274    pVCpu->tm.s.u64TSCLastSeen = u64Tick;
    274275    if (fTSCTicking)
    275276        tmCpuTickResume(pVM, pVCpu);
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