private void Test_Stopwatch() { //var sw = Stopwatch.StartNew(); //Log.Info($"{sw.ElapsedTicks} {sw.ElapsedMilliseconds} {sw.Elapsed}"); //Log.Info($"{sw.ElapsedTicks} {sw.ElapsedMilliseconds} {sw.Elapsed}"); //Log.Info($"{sw.ElapsedTicks} {sw.ElapsedMilliseconds} {sw.Elapsed}"); //sw.Stop(); //sw.Start(); //Log.Info($"{sw.ElapsedTicks} {sw.ElapsedMilliseconds} {sw.Elapsed}"); //sw.Stop(); //Log.Info($"{sw.ElapsedTicks} {sw.ElapsedMilliseconds} {sw.Elapsed}"); //Log.Info($"{sw.ElapsedTicks} {sw.ElapsedMilliseconds} {sw.Elapsed}"); Log.Info(""); StopwatchUtils.Start("sw1"); StopwatchUtils.Print("sw1"); StopwatchUtils.Print("sw1"); StopwatchUtils.Restart("sw1"); StopwatchUtils.Print("sw1"); StopwatchUtils.Print("sw1"); StopwatchUtils.Print("sw1"); StopwatchUtils.Stop("sw1"); Log.Info(""); }