VirtualBox

Changeset 1272 in vbox


Ignore:
Timestamp:
Mar 6, 2007 1:32:13 PM (18 years ago)
Author:
vboxsync
Message:

Exit reason statistics for SVM added.

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/HWACCMInternal.h

    r23 r1272  
    4949
    5050/** Maximum number of exit reason statistics counters. */
    51 #define MAX_EXITREASON_STAT        0x40
    52 #define MASK_EXITREASON_STAT       0x3f
     51#define MAX_EXITREASON_STAT        0x100
     52#define MASK_EXITREASON_STAT       0xff
    5353
    5454/** @name Changed flags
  • trunk/src/VBox/VMM/VMMR0/HWSVMR0.cpp

    r1225 r1272  
    827827    }
    828828
     829    STAM_COUNTER_INC(&pVM->hwaccm.s.pStatExitReason[exitCode & MASK_EXITREASON_STAT]);
     830
    829831    /* Deal with the reason of the VM-exit. */
    830832    switch (exitCode)
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