3 writes to StartTimeUtc
System.Diagnostics.DiagnosticSource (3)
System\Diagnostics\Activity.cs (3)
747StartTimeUtc = startTimeUtc; 814StartTimeUtc = GetUtcNow(); 1252activity.StartTimeUtc = startTime.UtcDateTime;
11 references to StartTimeUtc
Microsoft.Build.Engine.UnitTests (3)
Telemetry\OpenTelemetryActivities_Tests.cs (3)
103activity.StartTimeUtc.ShouldBe(now); 111var originalStartTime = activity.StartTimeUtc; // should be default (min) if not started 115activity.StartTimeUtc.ShouldBe(originalStartTime);
System.Diagnostics.DiagnosticSource (7)
System\Diagnostics\Activity.cs (7)
210/// between <see cref="StartTimeUtc"/> and end. If Activity is not ended and <see cref="SetEndTime"/> was not called then this is 754/// as a difference between <see cref="StartTimeUtc"/> 767Duration = endTimeUtc - StartTimeUtc; 785/// <item>If <see cref="StartTimeUtc"/> was not set previously, sets it to <see cref="DateTime.UtcNow"/>.</item> 813if (StartTimeUtc == default) 843/// If end time was not set previously, sets <see cref="Duration"/> as a difference between <see cref="DateTime.UtcNow"/> and <see cref="StartTimeUtc"/> 2201public DateTime StartTimeUtc => activity.StartTimeUtc;
System.Net.Http (1)
System\Net\Http\DiagnosticsHandler.cs (1)
221activity.AddException(exception, timestamp: activity.StartTimeUtc + activity.Duration);