VirtualBox

Changeset 46787 in vbox


Ignore:
Timestamp:
Jun 25, 2013 5:17:25 PM (11 years ago)
Author:
vboxsync
Message:

VMM/HM: AMD-V StatFlushEntire stat.

Location:
trunk/src/VBox/VMM
Files:
3 edited

Legend:

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

    r46785 r46787  
    903903    }
    904904    else
     905    {
    905906        Assert(pVmcb->ctrl.TLBCtrl.n.u8TLBFlush == SVM_TLB_FLUSH_ENTIRE);
     907        STAM_COUNTER_INC(&pVCpu->hm.s.StatFlushEntire);
     908    }
    906909#endif
    907910}
  • trunk/src/VBox/VMM/VMMR3/HM.cpp

    r46786 r46787  
    704704        HM_REG_COUNTER(&pVCpu->hm.s.StatFlushTlbWorldSwitch,    "/HM/CPU%d/Flush/TLB/CpuSwitch", "Forcing a full guest-TLB flush due to host-CPU reschedule or ASID-limit hit by another guest-VCPU.");
    705705        HM_REG_COUNTER(&pVCpu->hm.s.StatNoFlushTlbWorldSwitch,  "/HM/CPU%d/Flush/TLB/Skipped", "No TLB flushing required.");
     706        HM_REG_COUNTER(&pVCpu->hm.s.StatFlushEntire,            "/HM/CPU%d/Flush/TLB/Entire", "Flush the entire TLB (host + guest).");
    706707        HM_REG_COUNTER(&pVCpu->hm.s.StatFlushAsid,              "/HM/CPU%d/Flush/TLB/ASID", "Flushed guest-TLB entries for the current VPID.");
    707708        HM_REG_COUNTER(&pVCpu->hm.s.StatFlushNestedPaging,      "/HM/CPU%d/Flush/TLB/NestedPaging", "Flushed guest-TLB entries for the current EPT.");
  • trunk/src/VBox/VMM/include/HMInternal.h

    r46724 r46787  
    858858    STAMCOUNTER             StatFlushTlbWorldSwitch;
    859859    STAMCOUNTER             StatNoFlushTlbWorldSwitch;
     860    STAMCOUNTER             StatFlushEntire;
    860861    STAMCOUNTER             StatFlushAsid;
    861862    STAMCOUNTER             StatFlushNestedPaging;
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