/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Diagnostics.PerformanceCounter/tests/ |
H A D | PerformanceCounterTests.cs | 32 …unter counterSample = CreateCounterWithCategory(name, false, PerformanceCounterCategoryType.Single… in PerformanceCounter_CreateCounter_Count0() 58 … var category = Helpers.CreateCategory(name, PerformanceCounterCategoryType.MultiInstance); in PerformanceCounter_CreateCounter_MultiInstanceReadOnly() 76 … var category = Helpers.CreateCategory(name, PerformanceCounterCategoryType.SingleInstance); in PerformanceCounter_CreateCounter_SetReadOnly() 187 …unter counterSample = CreateCounterWithCategory(name, false, PerformanceCounterCategoryType.Single… in PerformanceCounter_Decrement() 201 …unter counterSample = CreateCounterWithCategory(name, false, PerformanceCounterCategoryType.Single… in PerformanceCounter_Increment() 215 …unter counterSample = CreateCounterWithCategory(name, false, PerformanceCounterCategoryType.Single… in PerformanceCounter_IncrementBy_IncrementBy2() 230 …ounter counterSample = CreateCounterWithCategory(name, true, PerformanceCounterCategoryType.Single… in PerformanceCounter_IncrementBy_IncrementByReadOnly() 241 …ounter counterSample = CreateCounterWithCategory(name, true, PerformanceCounterCategoryType.Single… in PerformanceCounter_Increment_IncrementReadOnly() 252 …ounter counterSample = CreateCounterWithCategory(name, true, PerformanceCounterCategoryType.Single… in PerformanceCounter_Decrement_DecrementReadOnly() 263 …unter counterSample = CreateCounterWithCategory(name, false, PerformanceCounterCategoryType.Single… in PerformanceCounter_RemoveInstance() [all …]
|
H A D | PerformanceCounterCategoryTests.cs | 87 … var category = Helpers.CreateCategory(name, PerformanceCounterCategoryType.MultiInstance); in PerformanceCounterCategory_CategoryType_MultiInstance() 91 …Assert.Equal(PerformanceCounterCategoryType.MultiInstance, Helpers.RetryOnAllPlatforms(() => pcc.C… in PerformanceCounterCategory_CategoryType_MultiInstance() 100 … var category = Helpers.CreateCategory(name, PerformanceCounterCategoryType.SingleInstance); in PerformanceCounterCategory_CategoryType_SingleInstance() 104 …Assert.Equal(PerformanceCounterCategoryType.SingleInstance, Helpers.RetryOnAllPlatforms(() => pcc.… in PerformanceCounterCategory_CategoryType_SingleInstance() 145 …) => PerformanceCounterCategory.Create(null, "Categoryhelp", PerformanceCounterCategoryType.Single… in PerformanceCounterCategory_Create_Invalid() 146 …manceCounterCategory.Create("category name", "Categoryhelp", PerformanceCounterCategoryType.Single… in PerformanceCounterCategory_Create_Invalid() 147 …anceCounterCategory.Create("category name", "Category help", PerformanceCounterCategoryType.Single… in PerformanceCounterCategory_Create_Invalid() 153 …rformanceCounterCategory.Create(maxCounter, "Category help", PerformanceCounterCategoryType.Single… in PerformanceCounterCategory_Create_Invalid() 154 …rformanceCounterCategory.Create("Category name", maxCounter, PerformanceCounterCategoryType.Single… in PerformanceCounterCategory_Create_Invalid() 213 … var category = Helpers.CreateCategory(name, PerformanceCounterCategoryType.SingleInstance); in PerformanceCounterCategory_DeleteCategory() [all …]
|
H A D | Helpers.cs | 18 … public static string CreateCategory(string name, PerformanceCounterCategoryType categoryType) in CreateCategory()
|
H A D | CounterSampleCalculatorTests.cs | 46 …PerformanceCounterCategory.Create(category, "description", PerformanceCounterCategoryType.SingleIn… in CreateCounter()
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.Configuration.Install/System.Diagnostics/ |
H A D | PerformanceCounterInstaller.cs | 120 [DefaultValue (PerformanceCounterCategoryType.Unknown)] 121 public PerformanceCounterCategoryType CategoryType { 126 if (!Enum.IsDefined(typeof(PerformanceCounterCategoryType), value)) 131 (int) value, typeof(PerformanceCounterCategoryType)); 141 private PerformanceCounterCategoryType _categoryType;
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/System/System.Diagnostics/ |
H A D | PerformanceCounterCategory.cs | 41 private PerformanceCounterCategoryType type = PerformanceCounterCategoryType.Unknown; 55 PerformanceCounterCategoryType categoryType, CounterCreationData[] items); in Create() 132 public PerformanceCounterCategoryType CategoryType { 167 PerformanceCounterCategoryType.Unknown, counterData); in Create() 178 PerformanceCounterCategoryType.Unknown, counterName, counterHelp); in Create() 184 PerformanceCounterCategoryType categoryType, in Create() 202 PerformanceCounterCategoryType categoryType, in Create()
|
H A D | PerformanceCounterCategoryType.cs | 31 public enum PerformanceCounterCategoryType enum
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System/services/monitoring/system/diagnosticts/ |
H A D | PerformanceCounterCategory.cs | 113 public PerformanceCounterCategoryType CategoryType{ 121 return PerformanceCounterCategoryType.MultiInstance; 126 return PerformanceCounterCategoryType.SingleInstance; 206 …return Create(categoryName, categoryHelp, PerformanceCounterCategoryType.Unknown, new CounterCreat… in Create() 211 …terCategory Create(string categoryName, string categoryHelp, PerformanceCounterCategoryType catego… in Create() 223 … return Create(categoryName, categoryHelp, PerformanceCounterCategoryType.Unknown, counterData); in Create() 228 …terCategory Create(string categoryName, string categoryHelp, PerformanceCounterCategoryType catego… in Create() 229 …if (categoryType < PerformanceCounterCategoryType.Unknown || categoryType > PerformanceCounterCate… in Create()
|
H A D | PerformanceCounter.cs | 499 …PerformanceCounterCategoryType categoryType = PerformanceCounterLib.GetCategoryType(currentMachine… in InitializeImpl() 500 if (categoryType == PerformanceCounterCategoryType.MultiInstance) { in InitializeImpl() 503 } else if (categoryType == PerformanceCounterCategoryType.SingleInstance) { in InitializeImpl() 525 …PerformanceCounterCategoryType categoryType = PerformanceCounterLib.GetCategoryType(currentMachine… in InitializeImpl() 526 if (categoryType == PerformanceCounterCategoryType.MultiInstance) { in InitializeImpl() 529 } else if (categoryType == PerformanceCounterCategoryType.SingleInstance) { in InitializeImpl()
|
H A D | PerformanceCounterLib.cs | 604 …internal bool FindCustomCategory(string category, out PerformanceCounterCategoryType categoryType)… in FindCustomCategory() 607 categoryType = PerformanceCounterCategoryType.Unknown; in FindCustomCategory() 614 categoryType= (PerformanceCounterCategoryType) this.customCategoryTable[category]; in FindCustomCategory() 641 categoryType = PerformanceCounterCategoryType.Unknown; in FindCustomCategory() 656 … categoryType = (PerformanceCounterCategoryType) isMultiInstanceObject; in FindCustomCategory() 657 …if (categoryType < PerformanceCounterCategoryType.Unknown || categoryType > PerformanceCounterCate… in FindCustomCategory() 658 categoryType = PerformanceCounterCategoryType.Unknown; in FindCustomCategory() 661 categoryType = PerformanceCounterCategoryType.Unknown; in FindCustomCategory() 1073 PerformanceCounterCategoryType categoryType; in IsCustomCategory() 1078 … internal static PerformanceCounterCategoryType GetCategoryType(string machine, string category) { in GetCategoryType() [all …]
|
H A D | PerformanceCounterCategoryType.cs | 7 public enum PerformanceCounterCategoryType { enum
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Diagnostics.PerformanceCounter/src/System/Diagnostics/ |
H A D | PerformanceCounterCategory.cs | 104 public PerformanceCounterCategoryType CategoryType 114 return PerformanceCounterCategoryType.MultiInstance; 120 return PerformanceCounterCategoryType.SingleInstance; 198 …return Create(categoryName, categoryHelp, PerformanceCounterCategoryType.Unknown, new CounterCreat… in Create() 201 …terCategory Create(string categoryName, string categoryHelp, PerformanceCounterCategoryType catego… in Create() 213 … return Create(categoryName, categoryHelp, PerformanceCounterCategoryType.Unknown, counterData); in Create() 216 …terCategory Create(string categoryName, string categoryHelp, PerformanceCounterCategoryType catego… in Create() 218 …if (categoryType < PerformanceCounterCategoryType.Unknown || categoryType > PerformanceCounterCate… in Create()
|
H A D | PerformanceCounter.cs | 481 …PerformanceCounterCategoryType categoryType = PerformanceCounterLib.GetCategoryType(currentMachine… in InitializeImpl() 482 if (categoryType == PerformanceCounterCategoryType.MultiInstance) in InitializeImpl() 487 else if (categoryType == PerformanceCounterCategoryType.SingleInstance) in InitializeImpl() 507 …PerformanceCounterCategoryType categoryType = PerformanceCounterLib.GetCategoryType(currentMachine… in InitializeImpl() 508 if (categoryType == PerformanceCounterCategoryType.MultiInstance) in InitializeImpl() 513 else if (categoryType == PerformanceCounterCategoryType.SingleInstance) in InitializeImpl()
|
H A D | PerformanceCounterLib.cs | 635 … internal bool FindCustomCategory(string category, out PerformanceCounterCategoryType categoryType) in FindCustomCategory() 639 categoryType = PerformanceCounterCategoryType.Unknown; in FindCustomCategory() 648 categoryType = (PerformanceCounterCategoryType)_customCategoryTable[category]; in FindCustomCategory() 676 categoryType = PerformanceCounterCategoryType.Unknown; in FindCustomCategory() 694 … categoryType = (PerformanceCounterCategoryType)isMultiInstanceObject; in FindCustomCategory() 695 …if (categoryType < PerformanceCounterCategoryType.Unknown || categoryType > PerformanceCounterCate… in FindCustomCategory() 696 categoryType = PerformanceCounterCategoryType.Unknown; in FindCustomCategory() 699 categoryType = PerformanceCounterCategoryType.Unknown; in FindCustomCategory() 1145 PerformanceCounterCategoryType categoryType; in IsCustomCategory() 1150 … internal static PerformanceCounterCategoryType GetCategoryType(string machine, string category) in GetCategoryType() [all …]
|
H A D | PerformanceCounterCategoryType.cs | 7 public enum PerformanceCounterCategoryType enum
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Diagnostics.PerformanceCounter/ref/ |
H A D | System.Diagnostics.PerformanceCounter.cs | 132 … public System.Diagnostics.PerformanceCounterCategoryType CategoryType { get { throw null; } } 139 …string categoryName, string categoryHelp, System.Diagnostics.PerformanceCounterCategoryType catego… in Create() 140 …string categoryName, string categoryHelp, System.Diagnostics.PerformanceCounterCategoryType catego… in Create() 156 public enum PerformanceCounterCategoryType enum
|
/dports/lang/mono/mono-5.10.1.57/external/binary-reference-assemblies/src/v4.7/ |
H A D | System.Configuration.Install.cs | 189 …stem.ComponentModel.DefaultValueAttribute((System.Diagnostics.PerformanceCounterCategoryType)(-1))] 191 …public System.Diagnostics.PerformanceCounterCategoryType CategoryType { get { throw null; } set { …
|
/dports/lang/mono/mono-5.10.1.57/external/binary-reference-assemblies/src/v4.7.1/ |
H A D | System.Configuration.Install.cs | 189 …stem.ComponentModel.DefaultValueAttribute((System.Diagnostics.PerformanceCounterCategoryType)(-1))] 191 …public System.Diagnostics.PerformanceCounterCategoryType CategoryType { get { throw null; } set { …
|
/dports/lang/mono/mono-5.10.1.57/external/binary-reference-assemblies/src/v4.6.2/ |
H A D | System.Configuration.Install.cs | 232 …stem.ComponentModel.DefaultValueAttribute((System.Diagnostics.PerformanceCounterCategoryType)(-1))] 234 …public System.Diagnostics.PerformanceCounterCategoryType CategoryType { get { throw null; } set { …
|
/dports/lang/mono/mono-5.10.1.57/external/binary-reference-assemblies/src/v4.5/ |
H A D | System.Configuration.Install.cs | 231 …stem.ComponentModel.DefaultValueAttribute((System.Diagnostics.PerformanceCounterCategoryType)(-1))] 233 …public System.Diagnostics.PerformanceCounterCategoryType CategoryType { get { throw null; } set { …
|
/dports/lang/mono/mono-5.10.1.57/external/binary-reference-assemblies/src/v4.5.1/ |
H A D | System.Configuration.Install.cs | 231 …stem.ComponentModel.DefaultValueAttribute((System.Diagnostics.PerformanceCounterCategoryType)(-1))] 233 …public System.Diagnostics.PerformanceCounterCategoryType CategoryType { get { throw null; } set { …
|
/dports/lang/mono/mono-5.10.1.57/external/binary-reference-assemblies/src/v4.5.2/ |
H A D | System.Configuration.Install.cs | 231 …stem.ComponentModel.DefaultValueAttribute((System.Diagnostics.PerformanceCounterCategoryType)(-1))] 233 …public System.Diagnostics.PerformanceCounterCategoryType CategoryType { get { throw null; } set { …
|
/dports/lang/mono/mono-5.10.1.57/external/binary-reference-assemblies/src/v2.0/ |
H A D | System.Configuration.Install.cs | 230 …stem.ComponentModel.DefaultValueAttribute((System.Diagnostics.PerformanceCounterCategoryType)(-1))] 232 …public System.Diagnostics.PerformanceCounterCategoryType CategoryType { get { throw null; } set { …
|
/dports/lang/mono/mono-5.10.1.57/external/binary-reference-assemblies/src/v4.0/ |
H A D | System.Configuration.Install.cs | 230 …stem.ComponentModel.DefaultValueAttribute((System.Diagnostics.PerformanceCounterCategoryType)(-1))] 232 …public System.Diagnostics.PerformanceCounterCategoryType CategoryType { get { throw null; } set { …
|
/dports/lang/mono/mono-5.10.1.57/external/binary-reference-assemblies/src/v4.6/ |
H A D | System.Configuration.Install.cs | 232 …stem.ComponentModel.DefaultValueAttribute((System.Diagnostics.PerformanceCounterCategoryType)(-1))] 234 …public System.Diagnostics.PerformanceCounterCategoryType CategoryType { get { throw null; } set { …
|