VirtualBox

Changeset 33725 in vbox


Ignore:
Timestamp:
Nov 3, 2010 1:31:24 PM (14 years ago)
Author:
vboxsync
Message:

More stats for large page allocation

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

Legend:

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

    r33595 r33725  
    16701670    PGM_REG_PROFILE(&pStats->StatAllocLargePage,                "/PGM/LargePage/Prof/Alloc",          "Time spent by the host OS for large page allocation.");
    16711671    PGM_REG_PROFILE(&pStats->StatClearLargePage,                "/PGM/LargePage/Prof/Clear",          "Time spent clearing the newly allocated large pages.");
     1672    PGM_REG_COUNTER(&pStats->StatLargePageOverflow,             "/PGM/LargePage/Overflow",            "The number of times allocating a large page took too long.");
    16721673    PGM_REG_PROFILE(&pStats->StatR3IsValidLargePage,            "/PGM/LargePage/Prof/R3/IsValid",     "pgmPhysIsValidLargePage profiling - R3.");
    16731674    PGM_REG_PROFILE(&pStats->StatRZIsValidLargePage,            "/PGM/LargePage/Prof/RZ/IsValid",     "pgmPhysIsValidLargePage profiling - RZ.");
  • trunk/src/VBox/VMM/PGMInternal.h

    r33540 r33725  
    28502850    /** Time spent clearing the newly allocated large pages. */
    28512851    STAMPROFILE                 StatClearLargePage;
     2852    /** The number of times allocating a large pages takes more than the allowed period. */
     2853    STAMCOUNTER                 StatLargePageOverflow;
    28522854    /** pgmPhysIsValidLargePage profiling - R3 */
    28532855    STAMPROFILE                 StatR3IsValidLargePage;
  • trunk/src/VBox/VMM/PGMPhys.cpp

    r33544 r33725  
    39283928        if (u64TimeStamp2 - u64TimeStamp1 > 100)
    39293929        {
     3930            STAM_COUNTER_INC(&pVM->pgm.s.CTX_SUFF(pStats)->StatLargePageOverflow);
    39303931            if (++cTimeOut > 10)
    39313932            {
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