public CTPInstancePerformanceCounter( string instance, CTPPerformanceCounterType spcType) : this() { CTPPerformanceCounters counters = CTPPerformanceCounters.Instance; _pcs = new PerformanceCounter( CTPPerformanceCounters._ctpCategoryName, counters._ctpPerformanceCounters[(int)spcType].Name, instance, false); _pcs.RawValue = _pcs.RawValue; }
// Methods static CTPPerformanceCounters() { _instance = new CTPPerformanceCounters(); }