3 writes to StartTimeUtc
System.Diagnostics.DiagnosticSource (3)
System\Diagnostics\Activity.cs (3)
745StartTimeUtc = startTimeUtc; 812StartTimeUtc = GetUtcNow(); 1250activity.StartTimeUtc = startTime.UtcDateTime;
10 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 (6)
System\Diagnostics\Activity.cs (6)
208/// between <see cref="StartTimeUtc"/> and end. If Activity is not ended and <see cref="SetEndTime"/> was not called then this is 752/// as a difference between <see cref="StartTimeUtc"/> 765Duration = endTimeUtc - StartTimeUtc; 783/// <item>If <see cref="StartTimeUtc"/> was not set previously, sets it to <see cref="DateTime.UtcNow"/>.</item> 811if (StartTimeUtc == default) 841/// If end time was not set previously, sets <see cref="Duration"/> as a difference between <see cref="DateTime.UtcNow"/> and <see cref="StartTimeUtc"/>
System.Net.Http (1)
System\Net\Http\DiagnosticsHandler.cs (1)
221activity.AddException(exception, timestamp: activity.StartTimeUtc + activity.Duration);