Exclusive, Inclusive, and Attributed Metrics
Both the Function List, which contains Function and Load-Object Metrics, and the Callers-Callees Window display exclusive and inclusive metrics; the Callers-Callees window also displays attributed metrics.
- Exclusive metrics are calculated from events that occur in the function itself.
- Inclusive metrics are calculated from events that occur in the function itself and also in any function that it calls.
- Attributed metrics for a selected function's callees are the contributions of the callees to the inclusive metric of the selected function. The sum of the attributed metrics of the callees and the exclusive metric of the selected function equals the selected function's inclusive metric.
- Attributed metrics for a selected function's callers are the contributions of the selected function to the inclusive metrics of the caller. The sum of the caller attributed metrics is equal to the inclusive metric of the selected function.
Exclusive metrics help you locate points in your program in which resources are being spent or problems are occurring.
Inclusive metrics help you locate branches in your program where resources are being spent or problems are occurring.
Attributed metrics help you identify the path through your program which is responsible for a particular problem or resource usage.