VirtualBox

Changeset 21363 in vbox for trunk/src/VBox/VMM/VMMAll


Ignore:
Timestamp:
Jul 7, 2009 5:10:52 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
49715
Message:

PDMQueue&users-thereof: Named the queues and added statistics.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/PDMAllQueue.cpp

    r21128 r21363  
    5858        i = pQueue->iFreeTail;
    5959        if (i == pQueue->iFreeHead)
     60        {
     61            STAM_REL_COUNTER_INC(&pQueue->StatAllocFailures);
    6062            return NULL;
     63        }
    6164        pNew = pQueue->aFreeItems[i].CTX_SUFF(pItem);
    6265        iNext = (i + 1) % (pQueue->cItems + PDMQUEUE_FREE_SLACK);
     
    98101#endif
    99102    }
     103    STAM_REL_COUNTER_INC(&pQueue->StatInsert);
    100104}
    101105
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