Example #1
0
        public static StopwatchTimer Begin()
        {
            StopwatchTimer sw = new StopwatchTimer();

            sw.Start();
            return(sw);
        }
Example #2
0
        public static StopwatchTimer Run(Updateable u)
        {
            StopwatchTimer sw = Begin();

            u.Action(null);
            sw.Stop();
            return(sw);
        }