ISPScopedPerformanceMonitor Interface
SharePoint 2010
Implement this interface to create a monitor to measure performance metrics within a given scope in code.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online