VirtualBox

Changeset 16412 in vbox


Ignore:
Timestamp:
Jan 30, 2009 1:23:20 PM (16 years ago)
Author:
vboxsync
Message:

Added release statistics for counting the number of hypervisor relocations.

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/PGM.cpp

    r16408 r16412  
    12791279
    12801280        STAM_REL_REG(pVM, &pVM->pgm.s.cGuestModeChanges, STAMTYPE_COUNTER, "/PGM/cGuestModeChanges", STAMUNIT_OCCURENCES, "Number of guest mode changes.");
     1281        STAM_REL_REG(pVM, &pVM->pgm.s.cRelocations, STAMTYPE_COUNTER, "/PGM/cRelocations", STAMUNIT_OCCURENCES, "Number of hypervisor relocations.");
    12811282#ifdef VBOX_WITH_STATISTICS
    12821283        pgmR3InitStats(pVM);
  • trunk/src/VBox/VMM/PGMInternal.h

    r16376 r16412  
    26342634    /** The number of times the guest has switched mode since last reset or statistics reset. */
    26352635    STAMCOUNTER                     cGuestModeChanges;
     2636    /** The number of times we were forced to change the hypervisor region location. */
     2637    STAMCOUNTER                     cRelocations;
    26362638    /** @} */
    26372639
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