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.244-beta+c33f622c070b2c1078a06bcb41bdeb4c19d19a0b
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