QueryPerfCounter.QueryPerfCounter C# (CSharp) Method

QueryPerfCounter() public method

public QueryPerfCounter ( ) : System
return System
    public QueryPerfCounter()
    {
        if (QueryPerformanceFrequency(out frequency) == false)
        {
          // Frequency not supported
          throw new Exception();
        }
    }