Skip to end of metadata
Go to start of metadata

Represent performance counter.

Definition

public class PerformanceCounter

Summary

The following table summarizes the members exposed in this class.

Public Constructors

PerformanceCounter Constructor() Initializes a new instance of the PerformanceCounter class.

Static Methods

Start() Starts this instance.
Stop(string) Stops the specified unique identifier.
Stop(string, string) Stops the specified unique identifier with message.

Public Constructors

public PerformanceCounter()

Static Methods

public static string Start()

Starts this instance.

public static TimeSpan Stop(string guid)

Stops the specified unique identifier.

Parameters

guid The unique identifier.

public static void Stop(string guid, string msg)

Stops the specified unique identifier with message.

Parameters

guid The unique identifier.
msg The message.
  • No labels