You've already forked linux-packaging-mono
Imported Upstream version 5.0.0.42
Former-commit-id: fd56571888259555122d8a0f58c68838229cea2b
This commit is contained in:
parent
1190d13a04
commit
6bdd276d05
7
external/corefx/src/System.Diagnostics.PerformanceCounter/dir.props
vendored
Normal file
7
external/corefx/src/System.Diagnostics.PerformanceCounter/dir.props
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="..\dir.props" />
|
||||
<PropertyGroup>
|
||||
<AssemblyVersion>4.0.0.0</AssemblyVersion>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
|
8
external/corefx/src/System.Diagnostics.PerformanceCounter/ref/Configurations.props
vendored
Normal file
8
external/corefx/src/System.Diagnostics.PerformanceCounter/ref/Configurations.props
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<BuildConfigurations>
|
||||
netcoreapp;
|
||||
</BuildConfigurations>
|
||||
</PropertyGroup>
|
||||
</Project>
|
@@ -0,0 +1,103 @@
|
||||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
// See the LICENSE file in the project root for more information.
|
||||
// ------------------------------------------------------------------------------
|
||||
// Changes to this file must follow the http://aka.ms/api-review process.
|
||||
// ------------------------------------------------------------------------------
|
||||
|
||||
|
||||
namespace System.Diagnostics
|
||||
{
|
||||
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
|
||||
public partial struct CounterSample
|
||||
{
|
||||
public static System.Diagnostics.CounterSample Empty;
|
||||
public CounterSample(long rawValue, long baseValue, long counterFrequency, long systemFrequency, long timeStamp, long timeStamp100nSec, System.Diagnostics.PerformanceCounterType counterType) { throw null; }
|
||||
public CounterSample(long rawValue, long baseValue, long counterFrequency, long systemFrequency, long timeStamp, long timeStamp100nSec, System.Diagnostics.PerformanceCounterType counterType, long counterTimeStamp) { throw null; }
|
||||
public long BaseValue { get { throw null; } }
|
||||
public long CounterFrequency { get { throw null; } }
|
||||
public long CounterTimeStamp { get { throw null; } }
|
||||
public System.Diagnostics.PerformanceCounterType CounterType { get { throw null; } }
|
||||
public long RawValue { get { throw null; } }
|
||||
public long SystemFrequency { get { throw null; } }
|
||||
public long TimeStamp { get { throw null; } }
|
||||
public long TimeStamp100nSec { get { throw null; } }
|
||||
public static float Calculate(System.Diagnostics.CounterSample counterSample) { throw null; }
|
||||
public static float Calculate(System.Diagnostics.CounterSample counterSample, System.Diagnostics.CounterSample nextCounterSample) { throw null; }
|
||||
public bool Equals(System.Diagnostics.CounterSample sample) { throw null; }
|
||||
public override bool Equals(object o) { throw null; }
|
||||
public override int GetHashCode() { throw null; }
|
||||
public static bool operator ==(System.Diagnostics.CounterSample a, System.Diagnostics.CounterSample b) { throw null; }
|
||||
public static bool operator !=(System.Diagnostics.CounterSample a, System.Diagnostics.CounterSample b) { throw null; }
|
||||
}
|
||||
public sealed partial class PerformanceCounter
|
||||
{
|
||||
[System.ObsoleteAttribute("This field has been deprecated and is not used. Use machine.config or an application configuration file to set the size of the PerformanceCounter file mapping.")]
|
||||
public static int DefaultFileMappingSize;
|
||||
public PerformanceCounter() { }
|
||||
public PerformanceCounter(string categoryName, string counterName) { }
|
||||
public PerformanceCounter(string categoryName, string counterName, bool readOnly) { }
|
||||
public PerformanceCounter(string categoryName, string counterName, string instanceName) { }
|
||||
public PerformanceCounter(string categoryName, string counterName, string instanceName, bool readOnly) { }
|
||||
public PerformanceCounter(string categoryName, string counterName, string instanceName, string machineName) { }
|
||||
[System.ComponentModel.DefaultValueAttribute("")]
|
||||
public string CategoryName { get { throw null; } set { } }
|
||||
public string CounterHelp { get { throw null; } }
|
||||
[System.ComponentModel.DefaultValueAttribute("")]
|
||||
public string CounterName { get { throw null; } set { } }
|
||||
public System.Diagnostics.PerformanceCounterType CounterType { get { throw null; } }
|
||||
[System.ComponentModel.DefaultValueAttribute((System.Diagnostics.PerformanceCounterInstanceLifetime)(0))]
|
||||
public System.Diagnostics.PerformanceCounterInstanceLifetime InstanceLifetime { get { throw null; } set { } }
|
||||
[System.ComponentModel.DefaultValueAttribute("")]
|
||||
public string InstanceName { get { throw null; } set { } }
|
||||
[System.ComponentModel.DefaultValueAttribute(".")]
|
||||
public string MachineName { get { throw null; } set { } }
|
||||
public long RawValue { get { throw null; } set { } }
|
||||
[System.ComponentModel.DefaultValueAttribute(true)]
|
||||
public bool ReadOnly { get { throw null; } set { } }
|
||||
public void BeginInit() { }
|
||||
public void Close() { }
|
||||
public void EndInit() { }
|
||||
public long Increment() { throw null; }
|
||||
public long IncrementBy(long value) { throw null; }
|
||||
public System.Diagnostics.CounterSample NextSample() { throw null; }
|
||||
public float NextValue() { throw null; }
|
||||
public void RemoveInstance() { }
|
||||
}
|
||||
public enum PerformanceCounterInstanceLifetime
|
||||
{
|
||||
Global = 0,
|
||||
Process = 1,
|
||||
}
|
||||
public enum PerformanceCounterType
|
||||
{
|
||||
AverageBase = 1073939458,
|
||||
AverageCount64 = 1073874176,
|
||||
AverageTimer32 = 805438464,
|
||||
CounterDelta32 = 4195328,
|
||||
CounterDelta64 = 4195584,
|
||||
CounterMultiBase = 1107494144,
|
||||
CounterMultiTimer = 574686464,
|
||||
CounterMultiTimer100Ns = 575735040,
|
||||
CounterMultiTimer100NsInverse = 592512256,
|
||||
CounterMultiTimerInverse = 591463680,
|
||||
CounterTimer = 541132032,
|
||||
CounterTimerInverse = 557909248,
|
||||
CountPerTimeInterval32 = 4523008,
|
||||
CountPerTimeInterval64 = 4523264,
|
||||
ElapsedTime = 807666944,
|
||||
NumberOfItems32 = 65536,
|
||||
NumberOfItems64 = 65792,
|
||||
NumberOfItemsHEX32 = 0,
|
||||
NumberOfItemsHEX64 = 256,
|
||||
RateOfCountsPerSecond32 = 272696320,
|
||||
RateOfCountsPerSecond64 = 272696576,
|
||||
RawBase = 1073939459,
|
||||
RawFraction = 537003008,
|
||||
SampleBase = 1073939457,
|
||||
SampleCounter = 4260864,
|
||||
SampleFraction = 549585920,
|
||||
Timer100Ns = 542180608,
|
||||
Timer100NsInverse = 558957824,
|
||||
}
|
||||
}
|
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netcoreapp-Debug|AnyCPU'" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netcoreapp-Release|AnyCPU'" />
|
||||
<ItemGroup>
|
||||
<Compile Include="System.Diagnostics.PerformanceCounter.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\System.Runtime\ref\System.Runtime.csproj" />
|
||||
</ItemGroup>
|
||||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
|
||||
</Project>
|
Reference in New Issue
Block a user