VirtualBox

Ignore:
Timestamp:
Apr 16, 2009 3:13:11 PM (16 years ago)
Author:
vboxsync
Message:

Story continues

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/PGMR0DynMap.cpp

    r18953 r18954  
    15721572    pSet->iCpu = -1;
    15731573
    1574     STAM_COUNTER_INC(&pVCpu->pVMR0->pgm.s.aStatR0DynMapSetSize[(cEntries * 10 / RT_ELEMENTS(pSet->aEntries)) % 11]);
     1574    STAM_COUNTER_INC(&pVCpu->pgm.s.aStatR0DynMapSetSize[(cEntries * 10 / RT_ELEMENTS(pSet->aEntries)) % 11]);
    15751575    AssertMsg(cEntries < PGMMAPSET_MAX_FILL, ("%u\n", cEntries));
    15761576    if (cEntries > RT_ELEMENTS(pSet->aEntries) * 50 / 100)
     
    15961596    uint32_t cEntries = pSet->cEntries;
    15971597    AssertReturnVoid(cEntries != PGMMAPSET_CLOSED);
    1598     STAM_COUNTER_INC(&pVCpu->pVMR0->pgm.s.aStatR0DynMapSetSize[(cEntries * 10 / RT_ELEMENTS(pSet->aEntries)) % 11]);
     1598    STAM_COUNTER_INC(&pVCpu->pgm.s.aStatR0DynMapSetSize[(cEntries * 10 / RT_ELEMENTS(pSet->aEntries)) % 11]);
    15991599    if (cEntries >= RT_ELEMENTS(pSet->aEntries) * 45 / 100)
    16001600    {
     
    16501650
    16511651                        ASMInvalidatePage(pThis->paPages[iPage].pvPage);
    1652                         STAM_COUNTER_INC(&pVCpu->pVMR0->pgm.s.StatR0DynMapMigrateInvlPg);
     1652                        STAM_COUNTER_INC(&pVCpu->pgm.s.StatR0DynMapMigrateInvlPg);
    16531653
    16541654                        RTSpinlockAcquire(pThis->hSpinlock, &Tmp);
     
    17271727Assert(iPrevSubset == UINT32_MAX);
    17281728    pSet->iSubset = pSet->cEntries;
    1729     STAM_COUNTER_INC(&pVCpu->pVMR0->pgm.s.StatR0DynMapSubsets);
     1729    STAM_COUNTER_INC(&pVCpu->pgm.s.StatR0DynMapSubsets);
    17301730    return iPrevSubset;
    17311731}
     
    17451745    AssertReturnVoid(pSet->iSubset <= iPrevSubset || iPrevSubset == UINT32_MAX);
    17461746Assert(iPrevSubset == UINT32_MAX);
    1747     STAM_COUNTER_INC(&pVCpu->pVMR0->pgm.s.aStatR0DynMapSetSize[(cEntries * 10 / RT_ELEMENTS(pSet->aEntries)) % 11]);
     1747    STAM_COUNTER_INC(&pVCpu->pgm.s.aStatR0DynMapSetSize[(cEntries * 10 / RT_ELEMENTS(pSet->aEntries)) % 11]);
    17481748    if (    cEntries >= RT_ELEMENTS(pSet->aEntries) * 40 / 100
    17491749        &&  cEntries != pSet->iSubset)
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