summaryrefslogtreecommitdiff
path: root/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/CounterPayload.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/CounterPayload.cs')
-rw-r--r--src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/CounterPayload.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/CounterPayload.cs b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/CounterPayload.cs
index e7dd90d4b0..ae4a1a7280 100644
--- a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/CounterPayload.cs
+++ b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/CounterPayload.cs
@@ -124,7 +124,7 @@ namespace System.Diagnostics.Tracing
public string DisplayName { get; set; }
- public TimeSpan DisplayRateTimeScale { get; set; }
+ public string DisplayRateTimeScale { get; set; }
public float Increment { get; set; }
@@ -150,7 +150,7 @@ namespace System.Diagnostics.Tracing
{
yield return new KeyValuePair<string, object>("Name", Name);
yield return new KeyValuePair<string, object>("DisplayName", DisplayName);
- yield return new KeyValuePair<string, object>("DisplayRateTimeScale", DisplayRateTimeScale.ToString("c"));
+ yield return new KeyValuePair<string, object>("DisplayRateTimeScale", DisplayRateTimeScale);
yield return new KeyValuePair<string, object>("Increment", Increment);
yield return new KeyValuePair<string, object>("IntervalSec", IntervalSec);
yield return new KeyValuePair<string, object>("Series", $"Interval={IntervalSec}");
@@ -161,4 +161,4 @@ namespace System.Diagnostics.Tracing
#endregion // Implementation of the IEnumerable interface
}
-} \ No newline at end of file
+}