VirtualBox

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


Ignore:
Timestamp:
Mar 3, 2021 12:19:46 PM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
143027
Message:

VMM: Properly count critsect contention in release builds too. bugref:9890

File:
1 edited

Legend:

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

    r82968 r87935  
    137137        return pdmCritSectEnterFirst(pCritSect, hNativeSelf, pSrcPos);
    138138# ifdef IN_RING3
    139     STAM_COUNTER_INC(&pCritSect->s.StatContentionR3);
    140 # else
    141     STAM_COUNTER_INC(&pCritSect->s.StatContentionRZLock);
     139    STAM_REL_COUNTER_INC(&pCritSect->s.StatContentionR3);
     140# else
     141    STAM_REL_COUNTER_INC(&pCritSect->s.StatContentionRZLock);
    142142# endif
    143143
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