VirtualBox

Changeset 22327 in vbox for trunk/src


Ignore:
Timestamp:
Aug 18, 2009 2:52:08 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
51231
Message:

Disabled rarely useful statistics as they pollute the log

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

Legend:

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

    r22326 r22327  
    16901690
    16911691#ifdef VBOX_WITH_STATISTICS
     1692
     1693# if 0 /* rarely useful; leave for debugging. */
    16921694        for (unsigned j = 0; j < RT_ELEMENTS(pPGM->StatSyncPtPD); j++)
    16931695            STAMR3RegisterF(pVM, &pPGM->StatSyncPtPD[i], STAMTYPE_COUNTER, STAMVISIBILITY_USED, STAMUNIT_OCCURENCES,
     
    16961698            STAMR3RegisterF(pVM, &pPGM->StatSyncPagePD[i], STAMTYPE_COUNTER, STAMVISIBILITY_USED, STAMUNIT_OCCURENCES,
    16971699                            "The number of SyncPage per PD n.", "/PGM/CPU%d/PDSyncPage/%04X", i, j);
    1698 
     1700# endif
    16991701        /* R0 only: */
    17001702        PGM_REG_COUNTER(&pPGM->StatR0DynMapMigrateInvlPg,         "/PGM/CPU%d/R0/DynMapMigrateInvlPg",        "invlpg count in PGMDynMapMigrateAutoSet.");
  • trunk/src/VBox/VMM/VMMAll/PGMAllBth.h

    r22326 r22327  
    16631663    Assert(PdeSrc.n.u1Present);
    16641664    Assert(cPages);
     1665# if 0 /* rarely useful; leave for debugging. */
    16651666    STAM_COUNTER_INC(&pVCpu->pgm.s.StatSyncPagePD[(GCPtrPage >> GST_PD_SHIFT) & GST_PD_MASK]);
     1667# endif
    16661668
    16671669    /*
     
    24742476
    24752477    STAM_PROFILE_START(&pVCpu->pgm.s.CTX_MID_Z(Stat,SyncPT), a);
     2478#if 0 /* rarely useful; leave for debugging. */
    24762479    STAM_COUNTER_INC(&pVCpu->pgm.s.StatSyncPtPD[iPDSrc]);
     2480#endif
    24772481    LogFlow(("SyncPT: GCPtrPage=%RGv\n", GCPtrPage));
    24782482
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette