VirtualBox

Changeset 8841

Show
Ignore:
Timestamp:
05/15/08 13:05:07 (2 months ago)
Author:
vboxsync
Message:

Extra statistic counter

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/VBox/VMM/VMM.cpp

    r8543 r8841  
    534534                    STAM_REG(pVM, &pVM->vmm.s.StatGCRetVMSetError,          STAMTYPE_COUNTER, "/VMM/GCRet/CallHost/VMSetError", STAMUNIT_OCCURENCES, "Number of VINF_VMM_CALL_HOST returns."); 
    535535                    STAM_REG(pVM, &pVM->vmm.s.StatGCRetPGMLock,             STAMTYPE_COUNTER, "/VMM/GCRet/CallHost/PGMLock",    STAMUNIT_OCCURENCES, "Number of VINF_VMM_CALL_HOST returns."); 
     536                    STAM_REG(pVM, &pVM->vmm.s.StatGCRetHyperAssertion,      STAMTYPE_COUNTER, "/VMM/GCRet/CallHost/HyperAssert", STAMUNIT_OCCURENCES, "Number of VINF_VMM_CALL_HOST returns."); 
    536537                    STAM_REG(pVM, &pVM->vmm.s.StatGCRetPATMDuplicateFn,     STAMTYPE_COUNTER, "/VMM/GCRet/PATMDuplicateFn",     STAMUNIT_OCCURENCES, "Number of VINF_PATM_DUPLICATE_FUNCTION returns."); 
    537538                    STAM_REG(pVM, &pVM->vmm.s.StatGCRetPGMChangeMode,       STAMTYPE_COUNTER, "/VMM/GCRet/PGMChangeMode",       STAMUNIT_OCCURENCES, "Number of VINF_PGM_CHANGE_MODE returns."); 
  • trunk/src/VBox/VMM/VMMInternal.h

    r8155 r8841  
    298298    STAMCOUNTER                 StatGCRetPGMGrowRAM; 
    299299    STAMCOUNTER                 StatGCRetPDMLock; 
     300    STAMCOUNTER                 StatGCRetHyperAssertion; 
    300301    STAMCOUNTER                 StatGCRetLogFlush; 
    301302    STAMCOUNTER                 StatGCRetPDMQueueFlush; 
  • trunk/src/VBox/VMM/VMMR0/VMMR0.cpp

    r8736 r8841  
    427427                case VMMCALLHOST_VM_SET_RUNTIME_ERROR: 
    428428                    STAM_COUNTER_INC(&pVM->vmm.s.StatGCRetVMSetRuntimeError); 
     429                    break; 
     430                case VMMCALLHOST_VM_R0_HYPER_ASSERTION: 
     431                    STAM_COUNTER_INC(&pVM->vmm.s.StatGCRetHyperAssertion); 
    429432                    break; 
    430433                default: 

© 2008 Sun Microsystems, Inc.
ContactPrivacy policy