Changeset 21367 in vbox for trunk/src/VBox/VMM
- Timestamp:
- Jul 7, 2009 5:44:52 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 49719
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/PDMInternal.h
r21363 r21367 726 726 /** State: Profiling the flushing. */ 727 727 STAMPROFILE StatFlushPrf; 728 /** State: Pending items. */ 729 uint32_t volatile cStatPending; 730 uint32_t volatile cAlignment; 728 731 #endif 729 732 -
trunk/src/VBox/VMM/PDMQueue.cpp
r21363 r21367 188 188 #ifdef VBOX_WITH_STATISTICS 189 189 STAMR3RegisterF(pVM, &pQueue->StatFlushPrf, STAMTYPE_PROFILE, STAMVISIBILITY_ALWAYS, STAMUNIT_CALLS, "Profiling pdmR3QueueFlush.", "/PDM/Queue/%s/FlushPrf", pQueue->pszName); 190 STAMR3RegisterF(pVM, (void *)&pQueue->cStatPending, STAMTYPE_U32, STAMVISIBILITY_ALWAYS, STAMUNIT_COUNT, "Pending items.", "/PDM/Queue/%s/Pending", pQueue->pszName); 190 191 #endif 191 192 … … 924 925 if (!ASMAtomicCmpXchgU32(&pQueue->iFreeHead, iNext, i)) 925 926 AssertMsgFailed(("huh? i=%d iNext=%d iFreeHead=%d iFreeTail=%d\n", i, iNext, pQueue->iFreeHead, pQueue->iFreeTail)); 927 STAM_STATS({ ASMAtomicDecU32(&pQueue->cStatPending); }); 926 928 } 927 929 -
trunk/src/VBox/VMM/VMMAll/PDMAllQueue.cpp
r21363 r21367 102 102 } 103 103 STAM_REL_COUNTER_INC(&pQueue->StatInsert); 104 STAM_STATS({ ASMAtomicIncU32(&pQueue->cStatPending); }); 104 105 } 105 106
Note:
See TracChangeset
for help on using the changeset viewer.