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

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

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