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.275-beta+5a507085c1b79f1427cd1812b9c3c9c583c21079
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