Click or drag to resize

PerformanceCounter(String, String, String, String, String, Single, Boolean) Constructor

Initializes a new instance of the PerformanceCounter class.

Namespace: GSF.Diagnostics
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.205-beta+5ef4169f3b1079d8b163dd363614f656bd140924
Syntax
public PerformanceCounter(
	string categoryName,
	string counterName,
	string instanceName,
	string aliasName,
	string valueUnit,
	float valueDivisor,
	bool readOnly = true
)
View Source

Parameters

categoryName  String
The name of the performance counter category (performance object) with which this performance counter is associated.
counterName  String
The name of the performance counter.
instanceName  String
The name of the performance counter category instance, or an empty string (""), if the category contains a single instance.
aliasName  String
The alias name for the PerformanceCounter object.
valueUnit  String
The measurement unit for the statistical values of the PerformanceCounter object.
valueDivisor  Single
The divisor to be applied to the statistical values of the PerformanceCounter object.
readOnly  Boolean  (Optional)
Flag that determines if this counter is read-only.
See Also