When no additional operations have completed since the last time status was output, highlight that in red.
Commit migrated from https://github.com/dotnet/corefx/commit/
53dc908890102d3a888ba603a06266b85d3f4a9b
// Spin up a thread dedicated to outputting stats for each defined interval
new Thread(() =>
{
+ long lastTotal = 0;
while (true)
{
Thread.Sleep(DisplayIntervalMilliseconds);
Console.ForegroundColor = ConsoleColor.Cyan;
Console.Write("[" + DateTime.Now + "]");
Console.ResetColor();
+
+ if (lastTotal == total)
+ {
+ Console.ForegroundColor = ConsoleColor.Red;
+ }
+ lastTotal = total;
Console.WriteLine(" Total: " + total.ToString("N0"));
+ Console.ResetColor();
if (reuseAddressFailure > 0)
{