|
PerformanceMonitor(String, Double, Boolean) Constructor
|
Namespace: GSF.DiagnosticsAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.244-beta+c33f622c070b2c1078a06bcb41bdeb4c19d19a0b
Syntaxpublic PerformanceMonitor(
string processName,
double samplingInterval,
bool addDefaultCounters = true
)
Public Sub New (
processName As String,
samplingInterval As Double,
Optional addDefaultCounters As Boolean = true
)
public:
PerformanceMonitor(
String^ processName,
double samplingInterval,
bool addDefaultCounters = true
)
new :
processName : string *
samplingInterval : float *
?addDefaultCounters : bool
(* Defaults:
let _addDefaultCounters = defaultArg addDefaultCounters true
*)
-> PerformanceMonitor
GSF.Diagnostics.PerformanceMonitor = function(processName, samplingInterval, addDefaultCounters);
View SourceParameters
- 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