Understanding Resource Contention Data Values in Profiling Tools
Resource contention profiling is one of two concurrency modes in the Microsoft Visual Studio Premium Profiling Tools. It collects detailed call stack information each time competing threads in an application are forced to wait for access to a shared resource. Resource contention reports display the total number of contentions and the total time that was spent waiting for a resource for the modules, functions, source code lines, and instructions in which the waiting occured.
Inclusive values display the total number of contentions that forced a function to wait by resource contentions and the total time that the function waited. Contentions that were caused by child functions that were called by the function are included in inclusive values.
Exclusive values display only the number of contentions that forced a function to wait and that were caused by code in the body of the function. Contentions caused by child functions are not included. The exclusive time for the function also includes only the wait times that were caused by statements in the function body.
Resource contention report views also include timeline graphs that show the individual contention events over time and show the call stacks that created the particular event. For more information, see one of the following topics:
For more information about the second mode of concurrency profiling, see Concurrency Visualizer.