diff --git a/ICD.Common.Utils/ProcessorUtils.Standard.cs b/ICD.Common.Utils/ProcessorUtils.Standard.cs index 5755431..a69cd0d 100644 --- a/ICD.Common.Utils/ProcessorUtils.Standard.cs +++ b/ICD.Common.Utils/ProcessorUtils.Standard.cs @@ -142,8 +142,7 @@ namespace ICD.Common.Utils [PublicAPI] public static TimeSpan GetSystemUptime() { - // TODO - return default(TimeSpan); + return TimeSpan.FromMilliseconds(Environment.TickCount); } /// @@ -153,8 +152,8 @@ namespace ICD.Common.Utils [PublicAPI] public static TimeSpan GetProgramUptime() { - // TODO - return default(TimeSpan); + var current = System.Diagnostics.Process.GetCurrentProcess(); + return IcdEnvironment.GetLocalTime() - current.StartTime; } #endregion