VirtualBox

Changeset 92385 in vbox for trunk/src/VBox/VMM/VMMR0


Ignore:
Timestamp:
Nov 11, 2021 11:54:29 PM (3 years ago)
Author:
vboxsync
Message:

VMM/PGM: Some more large page stats. bugref:10093

File:
1 edited

Legend:

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

    r92383 r92385  
    304304int pgmR0PhysAllocateLargePage(PGVM pGVM, VMCPUID idCpu, RTGCPHYS GCPhys)
    305305{
     306    STAM_PROFILE_ADV_START(&pGVM->pgm.s.Stats.StatLargePageAlloc2, a);
    306307    PGM_LOCK_ASSERT_OWNER_EX(pGVM, &pGVM->aCpus[idCpu]);
    307308
     
    355356    }
    356357
    357     STAM_PROFILE_START(&pGVM->pgm.s.Stats.StatLargePageSetup, b);
     358    STAM_PROFILE_ADV_STOP_START(&pGVM->pgm.s.Stats.StatLargePageAlloc2, &pGVM->pgm.s.Stats.StatLargePageSetup, a);
    358359
    359360    /*
     
    415416    pgmPhysInvalidatePageMapTLB(pGVM);
    416417
    417     STAM_PROFILE_STOP(&pGVM->pgm.s.Stats.StatLargePageSetup, b);
     418    STAM_PROFILE_ADV_STOP(&pGVM->pgm.s.Stats.StatLargePageSetup, a);
    418419#if 0 /** @todo returning info statuses here might not be a great idea... */
    419420    LogFlow(("PGMR0PhysAllocateLargePage: returns %Rrc\n", VBOXSTRICTRC_VAL(rc) ));
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