VirtualBox

忽略:
時間撮記:
2008-10-8 下午05:10:32 (16 年 以前)
作者:
vboxsync
訊息:

#1865: More PGM changes.

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/VMM/VMMAll/PGMAllPhys.cpp

    r13087 r13098  
    408408        Log2(("PGM: Replaced shared page %#x at %RGp with %#x / %RHp\n", PGM_PAGE_GET_PAGEID(pPage),
    409409              GCPhys, pVM->pgm.s.aHandyPages[iHandyPage].idPage, HCPhys));
    410         STAM_COUNTER_INC(&pVM->pgm.s.StatPageReplaceShared);
     410        STAM_COUNTER_INC(&pVM->pgm.s.CTX_MID_Z(Stat,PageReplaceShared));
    411411        pVM->pgm.s.cSharedPages--;
    412412/** @todo err.. what about copying the page content? */
     
    415415    {
    416416        Log2(("PGM: Replaced zero page %RGp with %#x / %RHp\n", GCPhys, pVM->pgm.s.aHandyPages[iHandyPage].idPage, HCPhys));
    417         STAM_COUNTER_INC(&pVM->pgm.s.StatPageReplaceZero);
     417        STAM_COUNTER_INC(&pVM->pgm.s.StatRZPageReplaceZero);
    418418        pVM->pgm.s.cZeroPages--;
    419419/** @todo verify that the handy page is zero! */
     
    510510    if (pTlbe->idChunk == idChunk)
    511511    {
    512         STAM_COUNTER_INC(&pVM->pgm.s.StatChunkR3MapTlbHits);
     512        STAM_COUNTER_INC(&pVM->pgm.s.CTX_MID_Z(Stat,ChunkR3MapTlbHits));
    513513        pMap = pTlbe->pChunk;
    514514    }
    515515    else if (idChunk != NIL_GMM_CHUNKID)
    516516    {
    517         STAM_COUNTER_INC(&pVM->pgm.s.StatChunkR3MapTlbMisses);
     517        STAM_COUNTER_INC(&pVM->pgm.s.CTX_MID_Z(Stat,ChunkR3MapTlbMisses));
    518518
    519519        /*
     
    569569int pgmPhysPageLoadIntoTlb(PPGM pPGM, RTGCPHYS GCPhys)
    570570{
    571     STAM_COUNTER_INC(&pPGM->CTXMID(StatPage,MapTlbMisses));
     571    STAM_COUNTER_INC(&pPGM->CTX_MID_Z(Stat,PageMapTlbMisses));
    572572
    573573    /*
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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