VirtualBox

Changeset 7945 in vbox


Ignore:
Timestamp:
Apr 14, 2008 7:53:00 AM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
29579
Message:

More logging

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

Legend:

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

    r7715 r7945  
    410410    uint32_t cPages = pPool->cMaxPages - pPool->cCurPages;
    411411    cPages = RT_MIN(PGMPOOL_CFG_MAX_GROW, cPages);
    412     LogFlow(("PGMR3PoolGrow: Growing the by %d (%#x) pages.\n", cPages, cPages));
     412    LogFlow(("PGMR3PoolGrow: Growing the pool by %d (%#x) pages.\n", cPages, cPages));
    413413
    414414    for (unsigned i = pPool->cCurPages; cPages-- > 0; i++)
  • trunk/src/VBox/VMM/VMMAll/PGMAllPool.cpp

    r7929 r7945  
    783783DECLINLINE(void) pgmPoolHashInsert(PPGMPOOL pPool, PPGMPOOLPAGE pPage)
    784784{
     785    Log3(("pgmPoolHashInsert %VGp\n", pPage->GCPhys));
    785786    Assert(pPage->GCPhys != NIL_RTGCPHYS); Assert(pPage->iNext == NIL_PGMPOOL_IDX);
    786787    uint16_t iHash = PGMPOOL_HASH(pPage->GCPhys);
     
    798799DECLINLINE(void) pgmPoolHashRemove(PPGMPOOL pPool, PPGMPOOLPAGE pPage)
    799800{
     801    Log3(("pgmPoolHashRemove %VGp\n", pPage->GCPhys));
    800802    uint16_t iHash = PGMPOOL_HASH(pPage->GCPhys);
    801803    if (pPool->aiHash[iHash] == pPage->idx)
     
    963965     */
    964966    unsigned i = pPool->aiHash[PGMPOOL_HASH(GCPhys)];
     967    Log3(("pgmPoolCacheAlloc %VGp kind %d iUser=%d iUserTable=%x SLOT=%d\n", GCPhys, enmKind, iUser, iUserTable, i));
    965968    if (i != NIL_PGMPOOL_IDX)
    966969    {
     
    968971        {
    969972            PPGMPOOLPAGE pPage = &pPool->aPages[i];
     973            Log3(("pgmPoolCacheAlloc slot %d found page %VGp\n", i, pPage->GCPhys));
    970974            if (pPage->GCPhys == GCPhys)
    971975            {
     
    10571061static void pgmPoolCacheFlushPage(PPGMPOOL pPool, PPGMPOOLPAGE pPage)
    10581062{
     1063    Log3(("pgmPoolCacheFlushPage %VGp\n", pPage->GCPhys));
     1064
    10591065    /*
    10601066     * Remove the page from the hash.
     
    11621168static int pgmPoolMonitorInsert(PPGMPOOL pPool, PPGMPOOLPAGE pPage)
    11631169{
     1170    LogFlow(("pgmPoolMonitorInsert %VGp\n", pPage->GCPhys & ~(RTGCPHYS)(PAGE_SIZE - 1)));
     1171
    11641172    /*
    11651173     * Filter out the relevant kinds.
     
    33613369    STAM_PROFILE_ADV_START(&pPool->StatAlloc, a);
    33623370    LogFlow(("pgmPoolAlloc: GCPhys=%VGp enmKind=%d iUser=%#x iUserTable=%#x\n", GCPhys, enmKind, iUser, iUserTable));
    3363 
    33643371    *ppPage = NULL;
    33653372
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