C# Class System.Diagnostics.PerformanceCounter

Inheritance: System.ComponentModel.Component, ISupportInitialize
Mostra file Open project: dotnet/corefx Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
BeginInit ( ) : void
Close ( ) : void
EndInit ( ) : void
Increment ( ) : long
IncrementBy ( long value ) : long
NextSample ( ) : System.Diagnostics.CounterSample
NextValue ( ) : float
PerformanceCounter ( )
PerformanceCounter ( string categoryName, string counterName )
PerformanceCounter ( string categoryName, string counterName, bool readOnly )
PerformanceCounter ( string categoryName, string counterName, string instanceName )
PerformanceCounter ( string categoryName, string counterName, string instanceName, bool readOnly )
PerformanceCounter ( string categoryName, string counterName, string instanceName, string machineName )
RemoveInstance ( ) : void

Method Details

BeginInit() public method

public BeginInit ( ) : void
return void

Close() public method

public Close ( ) : void
return void

EndInit() public method

public EndInit ( ) : void
return void

Increment() public method

public Increment ( ) : long
return long

IncrementBy() public method

public IncrementBy ( long value ) : long
value long
return long

NextSample() public method

public NextSample ( ) : System.Diagnostics.CounterSample
return System.Diagnostics.CounterSample

NextValue() public method

public NextValue ( ) : float
return float

PerformanceCounter() public method

public PerformanceCounter ( )

PerformanceCounter() public method

public PerformanceCounter ( string categoryName, string counterName )
categoryName string
counterName string

PerformanceCounter() public method

public PerformanceCounter ( string categoryName, string counterName, bool readOnly )
categoryName string
counterName string
readOnly bool

PerformanceCounter() public method

public PerformanceCounter ( string categoryName, string counterName, string instanceName )
categoryName string
counterName string
instanceName string

PerformanceCounter() public method

public PerformanceCounter ( string categoryName, string counterName, string instanceName, bool readOnly )
categoryName string
counterName string
instanceName string
readOnly bool

PerformanceCounter() public method

public PerformanceCounter ( string categoryName, string counterName, string instanceName, string machineName )
categoryName string
counterName string
instanceName string
machineName string

RemoveInstance() public method

public RemoveInstance ( ) : void
return void