次の方法で共有


SPCPUCycleData class

A helper class to count the cycles. It starts record ticks in contructor and stop ticks in Dispose(). In Dispose(), it will add the cycles to the SPCPUCycleCounter of SPMonitoredScopes

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.Utilities.SPCPUCycleData

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public NotInheritable Class SPCPUCycleData _
    Implements IDisposable
'Usage
Dim instance As SPCPUCycleData
public sealed class SPCPUCycleData : IDisposable

Thread safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See also

Reference

SPCPUCycleData members

Microsoft.SharePoint.Utilities namespace