5 references to ProcessStartTimeHelper
Aspire.Hosting.RemoteHost (5)
OrphanDetector.cs (5)
25
internal Func<int, bool> IsProcessRunning { get; set; } = static pid =>
ProcessStartTimeHelper
.IsProcessRunning(pid);
30
internal Func<int, long, bool> IsProcessRunningWithStartTime { get; set; } = static (pid, expectedStartTimeUnix) =>
ProcessStartTimeHelper
.IsProcessRunning(pid, expectedStartTimeUnix);
34
return
ProcessStartTimeHelper
.IsProcessRunningWithRuntimeStartTime(pid, expectedStartTimeUnix,
ProcessStartTimeHelper
.LegacyStartTimeMatchTolerance);
64
if (
ProcessStartTimeHelper
.TryParseStartTimeUnixSeconds(startTimeString) is { } parsedStartTime)