VirtualBox

Changeset 10503 in vbox


Ignore:
Timestamp:
Jul 11, 2008 9:37:24 AM (16 years ago)
Author:
vboxsync
Message:

More logging

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/HWSVMR0.cpp

    r10502 r10503  
    883883        ||  pVM->hwaccm.s.svm.cTLBFlushes != pCpu->cTLBFlushes)
    884884    {
     885#ifdef LOG_ENABLED
     886        if (pVM->hwaccm.s.svm.idLastCpu != pCpu->idCpu)
     887            Log(("Force TLB flush due to rescheduling to a different cpu (%d vs %d)\n", pVM->hwaccm.s.svm.idLastCpu, pCpu->idCpu));
     888        else
     889            Log(("Force TLB flush due to changed TLB flush count (%x vs %x)\n", pVM->hwaccm.s.svm.cTLBFlushes, pCpu->cTLBFlushes));
     890#endif
    885891        /* Force a TLB flush on VM entry. */
    886892        pVM->hwaccm.s.svm.fForceTLBFlush = true;
     
    895901            ||  pCpu->fFlushTLB)
    896902        {
     903#ifdef LOG_ENABLED
    897904            if (pCpu->fFlushTLB)
    898905                Log(("SVMR0RunGuestCode: First time cpu %d is used -> flush\n", pCpu->idCpu));
     906#endif
    899907
    900908            pCpu->fFlushTLB                  = false;
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