Timers Class
Provides code region timers.
Inheritance Hierarchy
System.Object
Microsoft.SqlServer.Management.SqlParser.Diagnostics.Timers
Namespace: Microsoft.SqlServer.Management.SqlParser.Diagnostics
Assembly: Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)
Syntax
'Declaration
Public NotInheritable Class Timers
'Usage
public static class Timers
public ref class Timers abstract sealed
[<AbstractClassAttribute>]
[<SealedAttribute>]
type Timers = class end
public final class Timers
The Timers type exposes the following members.
Properties
Name | Description | |
---|---|---|
OutputFormat | Gets or sets the output format. | |
PerfWriters | Gets the collection of writers that the generated report is written to. |
Top
Methods
Name | Description | |
---|---|---|
Begin | Resets all timers, initializes a new list of timing records, and enables timers. | |
Finish | Stops event recording and writes the time report to the registered writers. |
Top
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.