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.243-beta+92d6762f3b12bbbc557022a0922be296d2dc09be
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