VirtualBox

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


Ignore:
Timestamp:
May 23, 2018 5:53:43 PM (7 years ago)
Author:
vboxsync
Message:

NEM/win: Count cpuid and msr exits.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/NEMAllNativeTemplate-win.cpp.h

    r72306 r72308  
    17821782            case HvMessageTypeX64CpuidIntercept:
    17831783                Assert(pMsg->Header.PayloadSize == sizeof(pMsg->X64CpuIdIntercept));
     1784                STAM_REL_COUNTER_INC(&pVCpu->nem.s.StatExitCpuId);
    17841785                return nemHCWinHandleMessageCpuId(pVCpu, &pMsg->X64CpuIdIntercept, pCtx);
    17851786
    17861787            case HvMessageTypeX64MsrIntercept:
    17871788                Assert(pMsg->Header.PayloadSize == sizeof(pMsg->X64MsrIntercept));
     1789                STAM_REL_COUNTER_INC(&pVCpu->nem.s.StatExitMsr);
    17881790                return nemHCWinHandleMessageMsr(pVCpu, &pMsg->X64MsrIntercept, pCtx, pGVCpu);
    17891791
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