Source/NFX/Instrumentation/Analytics/TimeHistogramHelper.cs
/// <summary>
/// Stop sample time measurement started by Start() call
/// </summary>
Stop sample time measurement started by Start() call
Stop sample time measurement started by Start () call
public double Stop()
            {
                long stop, freq;
                NFX.Time.WinApi.QueryPerformanceCounter(out stop);
                NFX.Time.WinApi.QueryPerformanceFrequency(out freq);
                double dfreq = freq;
                double elapsed = stop < m_Start ? 0d : (double)(stop - m_Start) / dfreq;
                if (m_MinTime > elapsed || m_MinTime == 0) m_MinTime = elapsed;
                if (m_MaxTime < elapsed) m_MaxTime = elapsed;
                m_SumTime += elapsed;
                return elapsed;
            }
public double Stop ( ) { long stop , freq ; NFX . Time . WinApi . QueryPerformanceCounter ( out stop ) ; NFX . Time . WinApi . QueryPerformanceFrequency ( out freq ) ; double dfreq = freq ; double elapsed = stop < m_Start ? 0d : ( double ) ( stop - m_Start ) / dfreq ; if ( m_MinTime > elapsed || m_MinTime == 0 ) m_MinTime = elapsed ; if ( m_MaxTime < elapsed ) m_MaxTime = elapsed ; m_SumTime += elapsed ; return elapsed ; }
Stop sample time measurement started by Start() call
Stop sample time measurement started by Start () call