Exemplo n.º 1
0
            /// <summary>
            /// Starts the time.
            /// </summary>
            /// <param name="perfData">Must not be null.</param>
            public ScopedStopWatch(PerformanceData perfData)
            {
                _perfData = perfData;

                _stopWatch = new Stopwatch();
                _stopWatch.Start();
            }
Exemplo n.º 2
0
            /// <summary>
            /// Starts the time.
            /// </summary>
            /// <param name="perfData">Must not be null.</param>
            public ScopedStopWatch(PerformanceData perfData)
            {
                this.perfData = perfData;

                this.stopWatch = new Stopwatch();
                this.stopWatch.Start();
            }