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.245-beta+94213ae9d4d0aa7a2c48e5398b12d267b99f868a
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