Timers Class

 

Provides code region timers.

Namespace:   Microsoft.SqlServer.Management.SqlParser.Diagnostics
Assembly:  Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)

System.Object
  Microsoft.SqlServer.Management.SqlParser.Diagnostics.Timers

public static class Timers

NameDescription
System_CAPS_pubpropertySystem_CAPS_staticOutputFormat

Gets or sets the output format.

System_CAPS_pubpropertySystem_CAPS_staticPerfWriters

Gets the collection of writers that the generated report is written to.

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticBegin(Int32)

Resets all timers, initializes a new list of timing records, and enables timers.

System_CAPS_pubmethodSystem_CAPS_staticFinish()

Stops event recording and writes the time report to the registered writers.

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

Return to top
Show: