コード例 #1
0
            internal void Stop()
            {
                if (!Active)
                    return;

                TotalTime += PerfTime.Now - StartTime;
                Active = false;
            }
コード例 #2
0
            internal void Flush()
            {
                if (Active)
                {
                    PerfTime now = PerfTime.Now;

                    TotalTime += (now - StartTime);
                    StartTime = now;
                }
            }