3 writes to StartTimeUtc
System.Diagnostics.DiagnosticSource (3)
System\Diagnostics\Activity.cs (3)
744StartTimeUtc = startTimeUtc; 811StartTimeUtc = GetUtcNow(); 1249activity.StartTimeUtc = startTime.UtcDateTime;
9 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)
207/// between <see cref="StartTimeUtc"/> and end. If Activity is not ended and <see cref="SetEndTime"/> was not called then this is 751/// as a difference between <see cref="StartTimeUtc"/> 764Duration = endTimeUtc - StartTimeUtc; 782/// <item>If <see cref="StartTimeUtc"/> was not set previously, sets it to <see cref="DateTime.UtcNow"/>.</item> 810if (StartTimeUtc == default) 840/// If end time was not set previously, sets <see cref="Duration"/> as a difference between <see cref="DateTime.UtcNow"/> and <see cref="StartTimeUtc"/>