diff --git a/Log.cs b/Log.cs index aa05147..9306678 100644 --- a/Log.cs +++ b/Log.cs @@ -134,7 +134,7 @@ namespace lib String finalMsg = String.Format( "{0,-10}{1}| {2}", type, sym, msg ); - //Console.WriteLine( finalMsg ); + Console.WriteLine( finalMsg ); //Console.Out.Write( finalMsg ); foreach( var l_obj in Debug.Listeners ) diff --git a/Timer.cs b/Timer.cs index caa8716..ea0eb4a 100644 --- a/Timer.cs +++ b/Timer.cs @@ -232,12 +232,14 @@ namespace lib freq = 1000 * 1000; freq_millis = freq / 1000; + Start(); } // Start the timer public void Start() { + m_watch.Start(); startTime = m_watch.ElapsedMicroseconds; stopTime = m_watch.ElapsedMicroseconds; } @@ -246,6 +248,7 @@ namespace lib public void Stop() { + m_watch.Stop(); stopTime = m_watch.ElapsedMicroseconds; }