Imported Upstream version 6.4.0.137

Former-commit-id: 943baa9f16a098c33e129777827f3a9d20da00d6
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2019-07-26 19:53:28 +00:00
parent e9207cf623
commit ef583813eb
2712 changed files with 74169 additions and 40587 deletions

View File

@@ -28,9 +28,9 @@
namespace System.Diagnostics.Tracing
{
public class EventCounter : IDisposable
public class EventCounter : DiagnosticCounter
{
public EventCounter (string name, EventSource eventSource)
public EventCounter (string name, EventSource eventSource) : base (name, eventSource)
{
}
@@ -38,7 +38,7 @@ namespace System.Diagnostics.Tracing
{
}
public void Dispose ()
public void WriteMetric (double value)
{
}
}

View File

@@ -174,6 +174,10 @@ namespace System.Diagnostics.Tracing
{
}
internal void ReportOutOfBandMessage (string msg, bool flush)
{
}
protected void WriteEvent (int eventId)
{
WriteEvent (eventId, new object[] { } );

View File

@@ -54,6 +54,18 @@ namespace System.Diagnostics.Tracing
internal set;
}
public long OSThreadId
{
get;
internal set;
}
public DateTime TimeStamp
{
get;
internal set;
}
public string EventName
{
get;