Home
last modified time | relevance | path

Searched refs:CounterExists (Results 1 – 21 of 21) sorted by relevance

/dports/lang/mono/mono-5.10.1.57/mcs/class/System/System.Diagnostics/
H A DPerformanceCounterCategory.cs138 public bool CounterExists (string counterName) in CounterExists() method in System.Diagnostics.PerformanceCounterCategory
140 return CounterExists (counterName, categoryName, machineName); in CounterExists()
143 public static bool CounterExists (string counterName, string categoryName) in CounterExists() method in System.Diagnostics.PerformanceCounterCategory
145 return CounterExists (counterName, categoryName, "."); in CounterExists()
150 public static bool CounterExists (string counterName, string categoryName, string machineName) in CounterExists() method in System.Diagnostics.PerformanceCounterCategory
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Diagnostics.PerformanceCounter/tests/
H A DPerformanceCounterCategoryTests.cs176 Assert.True(pcc.CounterExists("Interrupts/sec")); in PerformanceCounterCategory_CounterExists_InterruptsPerSec()
184 Assert.Throws<ArgumentNullException>(() => pcc.CounterExists(null)); in PerformanceCounterCategory_CounterExists_Invalid()
185 Assert.Throws<InvalidOperationException>(() => pcc.CounterExists("Interrupts/sec")); in PerformanceCounterCategory_CounterExists_Invalid()
191 Assert.True(PerformanceCounterCategory.CounterExists("Interrupts/sec", "Processor")); in PerformanceCounterCategory_CounterExists_StaticInterruptsPerSec()
197 …Assert.Throws<ArgumentNullException>(() => PerformanceCounterCategory.CounterExists(null, "Process… in PerformanceCounterCategory_CounterExists_StaticInvalid()
198 …Assert.Throws<ArgumentNullException>(() => PerformanceCounterCategory.CounterExists("Interrupts/se… in PerformanceCounterCategory_CounterExists_StaticInvalid()
199 …Assert.Throws<ArgumentException>(() => PerformanceCounterCategory.CounterExists("Interrupts/sec", … in PerformanceCounterCategory_CounterExists_StaticInvalid()
200 …Assert.Throws<ArgumentException>(() => PerformanceCounterCategory.CounterExists("Interrupts/sec", … in PerformanceCounterCategory_CounterExists_StaticInvalid()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System/services/monitoring/system/diagnosticts/
H A DPerformanceCounterCategory.cs159 public bool CounterExists(string counterName) { in CounterExists() method in System.Diagnostics.PerformanceCounterCategory
166 return PerformanceCounterLib.CounterExists(machineName, categoryName, counterName); in CounterExists()
172 public static bool CounterExists(string counterName, string categoryName) { in CounterExists() method in System.Diagnostics.PerformanceCounterCategory
173 return CounterExists(counterName, categoryName, "."); in CounterExists()
179 … public static bool CounterExists(string counterName, string categoryName, string machineName) { in CounterExists() method in System.Diagnostics.PerformanceCounterCategory
195 return PerformanceCounterLib.CounterExists(machineName, categoryName, counterName); in CounterExists()
H A DPerformanceCounter.cs496 … if (!PerformanceCounterLib.CounterExists(currentMachineName, currentCategoryName, counterName)) in InitializeImpl()
497 …throw new InvalidOperationException(SR.GetString(SR.CounterExists, currentCategoryName, counterNam… in InitializeImpl()
H A DPerformanceCounterLib.cs307 internal static bool CounterExists(string machine, string category, string counter) { in CounterExists() method in System.Diagnostics.PerformanceCounterLib
310 bool counterExists = library.CounterExists(category, counter, ref categoryExists); in CounterExists()
316 counterExists = library.CounterExists(category, counter, ref categoryExists); in CounterExists()
332 private bool CounterExists(string category, string counter, ref bool categoryExists) { in CounterExists() method in System.Diagnostics.PerformanceCounterLib
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Diagnostics.PerformanceCounter/src/System/Diagnostics/
H A DPerformanceCounterCategory.cs152 public bool CounterExists(string counterName) in CounterExists() method in System.Diagnostics.PerformanceCounterCategory
160 return PerformanceCounterLib.CounterExists(_machineName, _categoryName, counterName); in CounterExists()
166 public static bool CounterExists(string counterName, string categoryName) in CounterExists() method in System.Diagnostics.PerformanceCounterCategory
168 return CounterExists(counterName, categoryName, "."); in CounterExists()
174 … public static bool CounterExists(string counterName, string categoryName, string machineName) in CounterExists() method in System.Diagnostics.PerformanceCounterCategory
188 return PerformanceCounterLib.CounterExists(machineName, categoryName, counterName); in CounterExists()
H A DPerformanceCounter.cs478 … if (!PerformanceCounterLib.CounterExists(currentMachineName, currentCategoryName, _counterName)) in InitializeImpl()
479 …throw new InvalidOperationException(SR.Format(SR.CounterExists, currentCategoryName, _counterName)… in InitializeImpl()
H A DPerformanceCounterLib.cs337 internal static bool CounterExists(string machine, string category, string counter) in CounterExists() method in System.Diagnostics.PerformanceCounterLib
341 bool counterExists = library.CounterExists(category, counter, ref categoryExists); in CounterExists()
349 counterExists = library.CounterExists(category, counter, ref categoryExists); in CounterExists()
366 private bool CounterExists(string category, string counter, ref bool categoryExists) in CounterExists() method in System.Diagnostics.PerformanceCounterLib
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Diagnostics.PerformanceCounter/ref/
H A DSystem.Diagnostics.PerformanceCounter.cs134 public bool CounterExists(string counterName) { throw null; } in CounterExists() method in System.Diagnostics.PerformanceCounterCategory
135 public static bool CounterExists(string counterName, string categoryName) { throw null; } in CounterExists() method in System.Diagnostics.PerformanceCounterCategory
136 …public static bool CounterExists(string counterName, string categoryName, string machineName) { th… in CounterExists() method in System.Diagnostics.PerformanceCounterCategory
/dports/lang/mono/mono-5.10.1.57/mcs/class/System/ReferenceSources/
H A DSR.cs1124 …public const string CounterExists = "Could not locate Performance Counter with specified category … field in SR
/dports/lang/mono/mono-5.10.1.57/external/binary-reference-assemblies/src/v4.0/
H A DSystem.cs6634 public bool CounterExists(string counterName) { throw null; } in CounterExists() method in System.Diagnostics.PerformanceCounterCategory
6635 public static bool CounterExists(string counterName, string categoryName) { throw null; } in CounterExists() method in System.Diagnostics.PerformanceCounterCategory
6636 …public static bool CounterExists(string counterName, string categoryName, string machineName) { th… in CounterExists() method in System.Diagnostics.PerformanceCounterCategory
/dports/lang/mono/mono-5.10.1.57/external/binary-reference-assemblies/src/v2.0/
H A DSystem.cs6353 public bool CounterExists(string counterName) { throw null; } in CounterExists() method in System.Diagnostics.PerformanceCounterCategory
6354 public static bool CounterExists(string counterName, string categoryName) { throw null; } in CounterExists() method in System.Diagnostics.PerformanceCounterCategory
6355 …public static bool CounterExists(string counterName, string categoryName, string machineName) { th… in CounterExists() method in System.Diagnostics.PerformanceCounterCategory
/dports/lang/mono/mono-5.10.1.57/external/binary-reference-assemblies/src/v4.5.2/
H A DSystem.cs6580 public bool CounterExists(string counterName) { throw null; } in CounterExists() method in System.Diagnostics.PerformanceCounterCategory
6581 public static bool CounterExists(string counterName, string categoryName) { throw null; } in CounterExists() method in System.Diagnostics.PerformanceCounterCategory
6582 …public static bool CounterExists(string counterName, string categoryName, string machineName) { th… in CounterExists() method in System.Diagnostics.PerformanceCounterCategory
/dports/lang/mono/mono-5.10.1.57/external/binary-reference-assemblies/src/v4.6.1/
H A DSystem.cs6601 public bool CounterExists(string counterName) { throw null; } in CounterExists() method in System.Diagnostics.PerformanceCounterCategory
6602 public static bool CounterExists(string counterName, string categoryName) { throw null; } in CounterExists() method in System.Diagnostics.PerformanceCounterCategory
6603 …public static bool CounterExists(string counterName, string categoryName, string machineName) { th… in CounterExists() method in System.Diagnostics.PerformanceCounterCategory
/dports/lang/mono/mono-5.10.1.57/external/binary-reference-assemblies/src/v4.6/
H A DSystem.cs6601 public bool CounterExists(string counterName) { throw null; } in CounterExists() method in System.Diagnostics.PerformanceCounterCategory
6602 public static bool CounterExists(string counterName, string categoryName) { throw null; } in CounterExists() method in System.Diagnostics.PerformanceCounterCategory
6603 …public static bool CounterExists(string counterName, string categoryName, string machineName) { th… in CounterExists() method in System.Diagnostics.PerformanceCounterCategory
/dports/lang/mono/mono-5.10.1.57/external/binary-reference-assemblies/src/v4.5.1/
H A DSystem.cs6580 public bool CounterExists(string counterName) { throw null; } in CounterExists() method in System.Diagnostics.PerformanceCounterCategory
6581 public static bool CounterExists(string counterName, string categoryName) { throw null; } in CounterExists() method in System.Diagnostics.PerformanceCounterCategory
6582 …public static bool CounterExists(string counterName, string categoryName, string machineName) { th… in CounterExists() method in System.Diagnostics.PerformanceCounterCategory
/dports/lang/mono/mono-5.10.1.57/external/binary-reference-assemblies/src/v4.5/
H A DSystem.cs6580 public bool CounterExists(string counterName) { throw null; } in CounterExists() method in System.Diagnostics.PerformanceCounterCategory
6581 public static bool CounterExists(string counterName, string categoryName) { throw null; } in CounterExists() method in System.Diagnostics.PerformanceCounterCategory
6582 …public static bool CounterExists(string counterName, string categoryName, string machineName) { th… in CounterExists() method in System.Diagnostics.PerformanceCounterCategory
/dports/lang/mono/mono-5.10.1.57/external/api-snapshot/profiles/net_4_x/
H A DSystem.cs6581 public bool CounterExists(string counterName) { throw null; } in CounterExists() method in System.Diagnostics.PerformanceCounterCategory
6582 public static bool CounterExists(string counterName, string categoryName) { throw null; } in CounterExists() method in System.Diagnostics.PerformanceCounterCategory
6583 …public static bool CounterExists(string counterName, string categoryName, string machineName) { th… in CounterExists() method in System.Diagnostics.PerformanceCounterCategory
/dports/lang/mono/mono-5.10.1.57/external/binary-reference-assemblies/src/v4.7.1/
H A DSystem.cs6858 public bool CounterExists(string counterName) { throw null; } in CounterExists() method in System.Diagnostics.PerformanceCounterCategory
6859 public static bool CounterExists(string counterName, string categoryName) { throw null; } in CounterExists() method in System.Diagnostics.PerformanceCounterCategory
6860 …public static bool CounterExists(string counterName, string categoryName, string machineName) { th… in CounterExists() method in System.Diagnostics.PerformanceCounterCategory
/dports/lang/mono/mono-5.10.1.57/external/binary-reference-assemblies/src/v4.6.2/
H A DSystem.cs6601 public bool CounterExists(string counterName) { throw null; } in CounterExists() method in System.Diagnostics.PerformanceCounterCategory
6602 public static bool CounterExists(string counterName, string categoryName) { throw null; } in CounterExists() method in System.Diagnostics.PerformanceCounterCategory
6603 …public static bool CounterExists(string counterName, string categoryName, string machineName) { th… in CounterExists() method in System.Diagnostics.PerformanceCounterCategory
/dports/lang/mono/mono-5.10.1.57/external/binary-reference-assemblies/src/v4.7/
H A DSystem.cs6849 public bool CounterExists(string counterName) { throw null; } in CounterExists() method in System.Diagnostics.PerformanceCounterCategory
6850 public static bool CounterExists(string counterName, string categoryName) { throw null; } in CounterExists() method in System.Diagnostics.PerformanceCounterCategory
6851 …public static bool CounterExists(string counterName, string categoryName, string machineName) { th… in CounterExists() method in System.Diagnostics.PerformanceCounterCategory