Click or drag to resize

PerformanceMonitor(String, Double, Boolean) Constructor

Initializes a new instance of the PerformanceMonitor class.

Namespace: GSF.Diagnostics
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.316-beta+461e40cb239c8ff1c2b7471a13bb1d1852a92e83
Syntax
public PerformanceMonitor(
	string processName,
	double samplingInterval,
	bool addDefaultCounters = true
)
View Source

Parameters

processName  String
Name of the Process whose performance is to be monitored.
samplingInterval  Double
Interval, in milliseconds, at which the Counters are to be sampled.
addDefaultCounters  Boolean  (Optional)
Set to true to add default counters; otherwise false.
See Also