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